AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateSpaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/repostspace/RepostspaceRequest.h>
9#include <aws/repostspace/Repostspace_EXPORTS.h>
10#include <aws/repostspace/model/SupportedEmailDomainsParameters.h>
11#include <aws/repostspace/model/TierLevel.h>
12
13#include <utility>
14
15namespace Aws {
16namespace repostspace {
17namespace Model {
18
22 public:
23 AWS_REPOSTSPACE_API UpdateSpaceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateSpace"; }
30
31 AWS_REPOSTSPACE_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
38 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
39 template <typename SpaceIdT = Aws::String>
40 void SetSpaceId(SpaceIdT&& value) {
41 m_spaceIdHasBeenSet = true;
42 m_spaceId = std::forward<SpaceIdT>(value);
43 }
44 template <typename SpaceIdT = Aws::String>
45 UpdateSpaceRequest& WithSpaceId(SpaceIdT&& value) {
46 SetSpaceId(std::forward<SpaceIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
64 UpdateSpaceRequest& WithDescription(DescriptionT&& value) {
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
74 inline TierLevel GetTier() const { return m_tier; }
75 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
76 inline void SetTier(TierLevel value) {
77 m_tierHasBeenSet = true;
78 m_tier = value;
79 }
81 SetTier(value);
82 return *this;
83 }
85
87
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 template <typename RoleArnT = Aws::String>
94 void SetRoleArn(RoleArnT&& value) {
95 m_roleArnHasBeenSet = true;
96 m_roleArn = std::forward<RoleArnT>(value);
97 }
98 template <typename RoleArnT = Aws::String>
99 UpdateSpaceRequest& WithRoleArn(RoleArnT&& value) {
100 SetRoleArn(std::forward<RoleArnT>(value));
101 return *this;
102 }
104
106
109 inline const SupportedEmailDomainsParameters& GetSupportedEmailDomains() const { return m_supportedEmailDomains; }
110 inline bool SupportedEmailDomainsHasBeenSet() const { return m_supportedEmailDomainsHasBeenSet; }
111 template <typename SupportedEmailDomainsT = SupportedEmailDomainsParameters>
112 void SetSupportedEmailDomains(SupportedEmailDomainsT&& value) {
113 m_supportedEmailDomainsHasBeenSet = true;
114 m_supportedEmailDomains = std::forward<SupportedEmailDomainsT>(value);
115 }
116 template <typename SupportedEmailDomainsT = SupportedEmailDomainsParameters>
117 UpdateSpaceRequest& WithSupportedEmailDomains(SupportedEmailDomainsT&& value) {
118 SetSupportedEmailDomains(std::forward<SupportedEmailDomainsT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_spaceId;
124
125 Aws::String m_description;
126
128
129 Aws::String m_roleArn;
130
131 SupportedEmailDomainsParameters m_supportedEmailDomains;
132 bool m_spaceIdHasBeenSet = false;
133 bool m_descriptionHasBeenSet = false;
134 bool m_tierHasBeenSet = false;
135 bool m_roleArnHasBeenSet = false;
136 bool m_supportedEmailDomainsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace repostspace
141} // namespace Aws
UpdateSpaceRequest & WithRoleArn(RoleArnT &&value)
UpdateSpaceRequest & WithDescription(DescriptionT &&value)
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
UpdateSpaceRequest & WithSupportedEmailDomains(SupportedEmailDomainsT &&value)
const SupportedEmailDomainsParameters & GetSupportedEmailDomains() const
AWS_REPOSTSPACE_API UpdateSpaceRequest()=default
UpdateSpaceRequest & WithSpaceId(SpaceIdT &&value)
UpdateSpaceRequest & WithTier(TierLevel value)
void SetSupportedEmailDomains(SupportedEmailDomainsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String