AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSpaceRequest.h
1
6#pragma once
7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/repostspace/RepostspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/repostspace/model/TierLevel.h>
11#include <aws/repostspace/model/SupportedEmailDomainsParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace repostspace
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REPOSTSPACE_API UpdateSpaceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateSpace"; }
33
34 AWS_REPOSTSPACE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
42 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
43 template<typename SpaceIdT = Aws::String>
44 void SetSpaceId(SpaceIdT&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::forward<SpaceIdT>(value); }
45 template<typename SpaceIdT = Aws::String>
46 UpdateSpaceRequest& WithSpaceId(SpaceIdT&& value) { SetSpaceId(std::forward<SpaceIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateSpaceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline TierLevel GetTier() const { return m_tier; }
67 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
68 inline void SetTier(TierLevel value) { m_tierHasBeenSet = true; m_tier = value; }
69 inline UpdateSpaceRequest& WithTier(TierLevel value) { SetTier(value); return *this;}
71
73
77 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
78 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
79 template<typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
81 template<typename RoleArnT = Aws::String>
82 UpdateSpaceRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
84
86
89 inline const SupportedEmailDomainsParameters& GetSupportedEmailDomains() const { return m_supportedEmailDomains; }
90 inline bool SupportedEmailDomainsHasBeenSet() const { return m_supportedEmailDomainsHasBeenSet; }
91 template<typename SupportedEmailDomainsT = SupportedEmailDomainsParameters>
92 void SetSupportedEmailDomains(SupportedEmailDomainsT&& value) { m_supportedEmailDomainsHasBeenSet = true; m_supportedEmailDomains = std::forward<SupportedEmailDomainsT>(value); }
93 template<typename SupportedEmailDomainsT = SupportedEmailDomainsParameters>
94 UpdateSpaceRequest& WithSupportedEmailDomains(SupportedEmailDomainsT&& value) { SetSupportedEmailDomains(std::forward<SupportedEmailDomainsT>(value)); return *this;}
96 private:
97
98 Aws::String m_spaceId;
99 bool m_spaceIdHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
105 bool m_tierHasBeenSet = false;
106
107 Aws::String m_roleArn;
108 bool m_roleArnHasBeenSet = false;
109
110 SupportedEmailDomainsParameters m_supportedEmailDomains;
111 bool m_supportedEmailDomainsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace repostspace
116} // 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