AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
UpdateSpaceRequest.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 UpdateSpaceRequest() = 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 "UpdateSpace"; }
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 UpdateSpaceRequest& WithAwsAccountId(AwsAccountIdT&& value) {
44 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
54 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
55 template <typename SpaceIdT = Aws::String>
56 void SetSpaceId(SpaceIdT&& value) {
57 m_spaceIdHasBeenSet = true;
58 m_spaceId = std::forward<SpaceIdT>(value);
59 }
60 template <typename SpaceIdT = Aws::String>
61 UpdateSpaceRequest& WithSpaceId(SpaceIdT&& value) {
62 SetSpaceId(std::forward<SpaceIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
79 UpdateSpaceRequest& WithName(NameT&& value) {
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
97 UpdateSpaceRequest& WithDescription(DescriptionT&& value) {
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_awsAccountId;
104
105 Aws::String m_spaceId;
106
107 Aws::String m_name;
108
109 Aws::String m_description;
110 bool m_awsAccountIdHasBeenSet = false;
111 bool m_spaceIdHasBeenSet = false;
112 bool m_nameHasBeenSet = false;
113 bool m_descriptionHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace QuickSight
118} // namespace Aws
UpdateSpaceRequest & WithAwsAccountId(AwsAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSpaceRequest & WithDescription(DescriptionT &&value)
UpdateSpaceRequest & WithName(NameT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API UpdateSpaceRequest()=default
UpdateSpaceRequest & WithSpaceId(SpaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String