AWS SDK for C++  1.9.40
AWS SDK for C++
GetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/xray/XRayRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace XRay
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetGroupName() const{ return m_groupName; }
39 
43  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
44 
48  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
49 
53  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
54 
58  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
59 
63  inline GetGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
64 
68  inline GetGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
69 
73  inline GetGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
74 
75 
79  inline const Aws::String& GetGroupARN() const{ return m_groupARN; }
80 
84  inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
85 
89  inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; }
90 
94  inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); }
95 
99  inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); }
100 
104  inline GetGroupRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;}
105 
109  inline GetGroupRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;}
110 
114  inline GetGroupRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;}
115 
116  private:
117 
118  Aws::String m_groupName;
119  bool m_groupNameHasBeenSet;
120 
121  Aws::String m_groupARN;
122  bool m_groupARNHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace XRay
127 } // namespace Aws
Aws::XRay::Model::GetGroupRequest::SetGroupName
void SetGroupName(const char *value)
Definition: GetGroupRequest.h:58
Aws::XRay::Model::GetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetGroupRequest.h:30
Aws::XRay::Model::GetGroupRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: GetGroupRequest.h:48
Aws::XRay::Model::GetGroupRequest::WithGroupARN
GetGroupRequest & WithGroupARN(const Aws::String &value)
Definition: GetGroupRequest.h:104
Aws::XRay::Model::GetGroupRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: GetGroupRequest.h:38
Aws::XRay::Model::GetGroupRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: GetGroupRequest.h:43
Aws::XRay::Model::GetGroupRequest::GroupARNHasBeenSet
bool GroupARNHasBeenSet() const
Definition: GetGroupRequest.h:84
Aws::XRay::Model::GetGroupRequest::WithGroupName
GetGroupRequest & WithGroupName(const Aws::String &value)
Definition: GetGroupRequest.h:63
Aws::XRay::Model::GetGroupRequest
Definition: GetGroupRequest.h:22
XRayRequest.h
Aws::XRay::Model::GetGroupRequest::WithGroupName
GetGroupRequest & WithGroupName(Aws::String &&value)
Definition: GetGroupRequest.h:68
Aws::XRay::Model::GetGroupRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: GetGroupRequest.h:53
Aws::XRay::Model::GetGroupRequest::SetGroupARN
void SetGroupARN(Aws::String &&value)
Definition: GetGroupRequest.h:94
Aws::XRay::Model::GetGroupRequest::SetGroupARN
void SetGroupARN(const Aws::String &value)
Definition: GetGroupRequest.h:89
Aws::XRay::Model::GetGroupRequest::WithGroupARN
GetGroupRequest & WithGroupARN(Aws::String &&value)
Definition: GetGroupRequest.h:109
Aws::XRay::XRayRequest
Definition: XRayRequest.h:17
Aws::XRay::Model::GetGroupRequest::SetGroupARN
void SetGroupARN(const char *value)
Definition: GetGroupRequest.h:99
AWSString.h
XRay_EXPORTS.h
Aws::XRay::Model::GetGroupRequest::GetGroupRequest
GetGroupRequest()
AWS_XRAY_API
#define AWS_XRAY_API
Definition: XRay_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::XRay::Model::GetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::XRay::Model::GetGroupRequest::WithGroupARN
GetGroupRequest & WithGroupARN(const char *value)
Definition: GetGroupRequest.h:114
Aws::XRay::Model::GetGroupRequest::WithGroupName
GetGroupRequest & WithGroupName(const char *value)
Definition: GetGroupRequest.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::XRay::Model::GetGroupRequest::GetGroupARN
const Aws::String & GetGroupARN() const
Definition: GetGroupRequest.h:79