AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGroupRequest.h
1
6#pragma once
7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/ResourceGroupsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ResourceGroups
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_RESOURCEGROUPS_API UpdateGroupRequest();
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 "UpdateGroup"; }
31
32 AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetGroup() const{ return m_group; }
40 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
41 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
42 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
43 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
44 inline UpdateGroupRequest& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
45 inline UpdateGroupRequest& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
46 inline UpdateGroupRequest& WithGroup(const char* value) { SetGroup(value); return *this;}
48
50
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline UpdateGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline UpdateGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline UpdateGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
70 inline int GetCriticality() const{ return m_criticality; }
71 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
72 inline void SetCriticality(int value) { m_criticalityHasBeenSet = true; m_criticality = value; }
73 inline UpdateGroupRequest& WithCriticality(int value) { SetCriticality(value); return *this;}
75
77
81 inline const Aws::String& GetOwner() const{ return m_owner; }
82 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
83 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
84 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
85 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
86 inline UpdateGroupRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
87 inline UpdateGroupRequest& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
88 inline UpdateGroupRequest& WithOwner(const char* value) { SetOwner(value); return *this;}
90
92
95 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
96 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
97 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
98 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
99 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
100 inline UpdateGroupRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
101 inline UpdateGroupRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
102 inline UpdateGroupRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
104 private:
105
106 Aws::String m_group;
107 bool m_groupHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 int m_criticality;
113 bool m_criticalityHasBeenSet = false;
114
115 Aws::String m_owner;
116 bool m_ownerHasBeenSet = false;
117
118 Aws::String m_displayName;
119 bool m_displayNameHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ResourceGroups
124} // namespace Aws
UpdateGroupRequest & WithOwner(const char *value)
UpdateGroupRequest & WithDescription(const char *value)
UpdateGroupRequest & WithGroup(const Aws::String &value)
UpdateGroupRequest & WithOwner(const Aws::String &value)
UpdateGroupRequest & WithDisplayName(Aws::String &&value)
UpdateGroupRequest & WithDescription(Aws::String &&value)
UpdateGroupRequest & WithDisplayName(const Aws::String &value)
UpdateGroupRequest & WithGroup(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithDisplayName(const char *value)
UpdateGroupRequest & WithDescription(const Aws::String &value)
UpdateGroupRequest & WithGroup(const char *value)
UpdateGroupRequest & WithCriticality(int value)
UpdateGroupRequest & WithOwner(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String