AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
GetGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/xray/XRay_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace XRay {
15namespace Model {
16
20 public:
21 AWS_XRAY_API GetGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetGroup"; }
28
29 AWS_XRAY_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetGroupName() const { return m_groupName; }
36 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
37 template <typename GroupNameT = Aws::String>
38 void SetGroupName(GroupNameT&& value) {
39 m_groupNameHasBeenSet = true;
40 m_groupName = std::forward<GroupNameT>(value);
41 }
42 template <typename GroupNameT = Aws::String>
43 GetGroupRequest& WithGroupName(GroupNameT&& value) {
44 SetGroupName(std::forward<GroupNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
54 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
55 template <typename GroupARNT = Aws::String>
56 void SetGroupARN(GroupARNT&& value) {
57 m_groupARNHasBeenSet = true;
58 m_groupARN = std::forward<GroupARNT>(value);
59 }
60 template <typename GroupARNT = Aws::String>
61 GetGroupRequest& WithGroupARN(GroupARNT&& value) {
62 SetGroupARN(std::forward<GroupARNT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_groupName;
68 bool m_groupNameHasBeenSet = false;
69
70 Aws::String m_groupARN;
71 bool m_groupARNHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace XRay
76} // namespace Aws
AWS_XRAY_API Aws::String SerializePayload() const override
GetGroupRequest & WithGroupName(GroupNameT &&value)
AWS_XRAY_API GetGroupRequest()=default
virtual const char * GetServiceRequestName() const override
GetGroupRequest & WithGroupARN(GroupARNT &&value)
void SetGroupName(GroupNameT &&value)
const Aws::String & GetGroupARN() const
const Aws::String & GetGroupName() const
void SetGroupARN(GroupARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String