AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
CreateSpaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
20 public:
21 AWS_QUICKSIGHT_API CreateSpaceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateSpace"; }
28
29 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
36 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
37 template <typename AwsAccountIdT = Aws::String>
38 void SetAwsAccountId(AwsAccountIdT&& value) {
39 m_awsAccountIdHasBeenSet = true;
40 m_awsAccountId = std::forward<AwsAccountIdT>(value);
41 }
42 template <typename AwsAccountIdT = Aws::String>
43 CreateSpaceRequest& WithAwsAccountId(AwsAccountIdT&& value) {
44 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
55 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
56 template <typename SpaceIdT = Aws::String>
57 void SetSpaceId(SpaceIdT&& value) {
58 m_spaceIdHasBeenSet = true;
59 m_spaceId = std::forward<SpaceIdT>(value);
60 }
61 template <typename SpaceIdT = Aws::String>
62 CreateSpaceRequest& WithSpaceId(SpaceIdT&& value) {
63 SetSpaceId(std::forward<SpaceIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
80 CreateSpaceRequest& WithName(NameT&& value) {
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
98 CreateSpaceRequest& WithDescription(DescriptionT&& value) {
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_awsAccountId;
105
106 Aws::String m_spaceId;
107
108 Aws::String m_name;
109
110 Aws::String m_description;
111 bool m_awsAccountIdHasBeenSet = false;
112 bool m_spaceIdHasBeenSet = false;
113 bool m_nameHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
CreateSpaceRequest & WithSpaceId(SpaceIdT &&value)
AWS_QUICKSIGHT_API CreateSpaceRequest()=default
CreateSpaceRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateSpaceRequest & WithDescription(DescriptionT &&value)
CreateSpaceRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String