AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename GroupT = Aws::String>
42 void SetGroup(GroupT&& value) { m_groupHasBeenSet = true; m_group = std::forward<GroupT>(value); }
43 template<typename GroupT = Aws::String>
44 UpdateGroupRequest& WithGroup(GroupT&& value) { SetGroup(std::forward<GroupT>(value)); return *this;}
46
48
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 UpdateGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
66 inline int GetCriticality() const { return m_criticality; }
67 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
68 inline void SetCriticality(int value) { m_criticalityHasBeenSet = true; m_criticality = value; }
69 inline UpdateGroupRequest& WithCriticality(int value) { SetCriticality(value); return *this;}
71
73
77 inline const Aws::String& GetOwner() const { return m_owner; }
78 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
79 template<typename OwnerT = Aws::String>
80 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
81 template<typename OwnerT = Aws::String>
82 UpdateGroupRequest& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDisplayName() const { return m_displayName; }
90 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
91 template<typename DisplayNameT = Aws::String>
92 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
93 template<typename DisplayNameT = Aws::String>
94 UpdateGroupRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
96 private:
97
98 Aws::String m_group;
99 bool m_groupHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 int m_criticality{0};
105 bool m_criticalityHasBeenSet = false;
106
107 Aws::String m_owner;
108 bool m_ownerHasBeenSet = false;
109
110 Aws::String m_displayName;
111 bool m_displayNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ResourceGroups
116} // namespace Aws
AWS_RESOURCEGROUPS_API UpdateGroupRequest()=default
UpdateGroupRequest & WithDescription(DescriptionT &&value)
UpdateGroupRequest & WithGroup(GroupT &&value)
UpdateGroupRequest & WithOwner(OwnerT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithDisplayName(DisplayNameT &&value)
UpdateGroupRequest & WithCriticality(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String