AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace repostspace
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REPOSTSPACE_API UpdateSpaceRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateSpace"; }
32
33 AWS_REPOSTSPACE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline UpdateSpaceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline UpdateSpaceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline UpdateSpaceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
56 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
57 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
58 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
59 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
60 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
61 inline UpdateSpaceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
62 inline UpdateSpaceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
63 inline UpdateSpaceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
65
67
70 inline const Aws::String& GetSpaceId() const{ return m_spaceId; }
71 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
72 inline void SetSpaceId(const Aws::String& value) { m_spaceIdHasBeenSet = true; m_spaceId = value; }
73 inline void SetSpaceId(Aws::String&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::move(value); }
74 inline void SetSpaceId(const char* value) { m_spaceIdHasBeenSet = true; m_spaceId.assign(value); }
75 inline UpdateSpaceRequest& WithSpaceId(const Aws::String& value) { SetSpaceId(value); return *this;}
76 inline UpdateSpaceRequest& WithSpaceId(Aws::String&& value) { SetSpaceId(std::move(value)); return *this;}
77 inline UpdateSpaceRequest& WithSpaceId(const char* value) { SetSpaceId(value); return *this;}
79
81
84 inline const TierLevel& GetTier() const{ return m_tier; }
85 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
86 inline void SetTier(const TierLevel& value) { m_tierHasBeenSet = true; m_tier = value; }
87 inline void SetTier(TierLevel&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
88 inline UpdateSpaceRequest& WithTier(const TierLevel& value) { SetTier(value); return *this;}
89 inline UpdateSpaceRequest& WithTier(TierLevel&& value) { SetTier(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 Aws::String m_roleArn;
97 bool m_roleArnHasBeenSet = false;
98
99 Aws::String m_spaceId;
100 bool m_spaceIdHasBeenSet = false;
101
102 TierLevel m_tier;
103 bool m_tierHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace repostspace
108} // namespace Aws
UpdateSpaceRequest & WithDescription(const Aws::String &value)
UpdateSpaceRequest & WithRoleArn(const char *value)
UpdateSpaceRequest & WithSpaceId(const char *value)
UpdateSpaceRequest & WithSpaceId(const Aws::String &value)
UpdateSpaceRequest & WithDescription(Aws::String &&value)
void SetSpaceId(const Aws::String &value)
UpdateSpaceRequest & WithDescription(const char *value)
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
UpdateSpaceRequest & WithRoleArn(Aws::String &&value)
UpdateSpaceRequest & WithSpaceId(Aws::String &&value)
UpdateSpaceRequest & WithTier(TierLevel &&value)
UpdateSpaceRequest & WithTier(const TierLevel &value)
UpdateSpaceRequest & WithRoleArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String