AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ResourceGroups
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 "DeleteGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetGroup() const{ return m_group; }
39 
43  inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
44 
48  inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
49 
53  inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
54 
58  inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
59 
63  inline DeleteGroupRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
64 
68  inline DeleteGroupRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
69 
73  inline DeleteGroupRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
74 
75  private:
76 
77  Aws::String m_group;
78  bool m_groupHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace ResourceGroups
83 } // namespace Aws
Aws::ResourceGroups::Model::DeleteGroupRequest::WithGroup
DeleteGroupRequest & WithGroup(const char *value)
Definition: DeleteGroupRequest.h:73
Aws::ResourceGroups::Model::DeleteGroupRequest::WithGroup
DeleteGroupRequest & WithGroup(const Aws::String &value)
Definition: DeleteGroupRequest.h:63
Aws::ResourceGroups::Model::DeleteGroupRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_RESOURCEGROUPS_API
#define AWS_RESOURCEGROUPS_API
Definition: ResourceGroups_EXPORTS.h:28
Aws::ResourceGroups::Model::DeleteGroupRequest::SetGroup
void SetGroup(Aws::String &&value)
Definition: DeleteGroupRequest.h:53
Aws::ResourceGroups::Model::DeleteGroupRequest::WithGroup
DeleteGroupRequest & WithGroup(Aws::String &&value)
Definition: DeleteGroupRequest.h:68
Aws::ResourceGroups::ResourceGroupsRequest
Definition: ResourceGroupsRequest.h:17
Aws::ResourceGroups::Model::DeleteGroupRequest::SetGroup
void SetGroup(const Aws::String &value)
Definition: DeleteGroupRequest.h:48
Aws::ResourceGroups::Model::DeleteGroupRequest
Definition: DeleteGroupRequest.h:22
AWSString.h
Aws::ResourceGroups::Model::DeleteGroupRequest::GroupHasBeenSet
bool GroupHasBeenSet() const
Definition: DeleteGroupRequest.h:43
Aws::ResourceGroups::Model::DeleteGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteGroupRequest.h:30
ResourceGroupsRequest.h
Aws
Definition: AccessManagementClient.h:15
ResourceGroups_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ResourceGroups::Model::DeleteGroupRequest::SetGroup
void SetGroup(const char *value)
Definition: DeleteGroupRequest.h:58
Aws::ResourceGroups::Model::DeleteGroupRequest::DeleteGroupRequest
DeleteGroupRequest()
Aws::ResourceGroups::Model::DeleteGroupRequest::GetGroup
const Aws::String & GetGroup() const
Definition: DeleteGroupRequest.h:38