AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateFolderRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateFolder"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
45  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 
51  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
63  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 
69  inline UpdateFolderRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline UpdateFolderRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline UpdateFolderRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetFolderId() const{ return m_folderId; }
88 
92  inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
93 
97  inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
98 
102  inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
103 
107  inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
108 
112  inline UpdateFolderRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
113 
117  inline UpdateFolderRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
118 
122  inline UpdateFolderRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
123 
124 
128  inline const Aws::String& GetName() const{ return m_name; }
129 
133  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 
138  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 
143  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
144 
148  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 
153  inline UpdateFolderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline UpdateFolderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline UpdateFolderRequest& WithName(const char* value) { SetName(value); return *this;}
164 
165  private:
166 
167  Aws::String m_awsAccountId;
168  bool m_awsAccountIdHasBeenSet;
169 
170  Aws::String m_folderId;
171  bool m_folderIdHasBeenSet;
172 
173  Aws::String m_name;
174  bool m_nameHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace QuickSight
179 } // namespace Aws
Aws::QuickSight::Model::UpdateFolderRequest::SetFolderId
void SetFolderId(const char *value)
Definition: UpdateFolderRequest.h:107
Aws::QuickSight::Model::UpdateFolderRequest::GetFolderId
const Aws::String & GetFolderId() const
Definition: UpdateFolderRequest.h:87
Aws::QuickSight::Model::UpdateFolderRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateFolderRequest.h:57
Aws::QuickSight::Model::UpdateFolderRequest::WithName
UpdateFolderRequest & WithName(const Aws::String &value)
Definition: UpdateFolderRequest.h:153
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateFolderRequest::WithFolderId
UpdateFolderRequest & WithFolderId(const Aws::String &value)
Definition: UpdateFolderRequest.h:112
Aws::QuickSight::Model::UpdateFolderRequest::WithFolderId
UpdateFolderRequest & WithFolderId(Aws::String &&value)
Definition: UpdateFolderRequest.h:117
Aws::QuickSight::Model::UpdateFolderRequest::WithAwsAccountId
UpdateFolderRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateFolderRequest.h:75
Aws::QuickSight::Model::UpdateFolderRequest::UpdateFolderRequest
UpdateFolderRequest()
Aws::QuickSight::Model::UpdateFolderRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateFolderRequest.h:45
Aws::QuickSight::Model::UpdateFolderRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::UpdateFolderRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateFolderRequest.h:63
Aws::QuickSight::Model::UpdateFolderRequest::SetFolderId
void SetFolderId(Aws::String &&value)
Definition: UpdateFolderRequest.h:102
Aws::QuickSight::Model::UpdateFolderRequest::WithAwsAccountId
UpdateFolderRequest & WithAwsAccountId(const char *value)
Definition: UpdateFolderRequest.h:81
Aws::QuickSight::Model::UpdateFolderRequest::FolderIdHasBeenSet
bool FolderIdHasBeenSet() const
Definition: UpdateFolderRequest.h:92
Aws::QuickSight::Model::UpdateFolderRequest::SetFolderId
void SetFolderId(const Aws::String &value)
Definition: UpdateFolderRequest.h:97
QuickSightRequest.h
Aws::QuickSight::Model::UpdateFolderRequest::WithAwsAccountId
UpdateFolderRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateFolderRequest.h:69
AWSString.h
Aws::QuickSight::Model::UpdateFolderRequest::GetName
const Aws::String & GetName() const
Definition: UpdateFolderRequest.h:128
Aws::QuickSight::Model::UpdateFolderRequest::SetName
void SetName(const char *value)
Definition: UpdateFolderRequest.h:148
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateFolderRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateFolderRequest.h:143
Aws::QuickSight::Model::UpdateFolderRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateFolderRequest.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateFolderRequest::WithName
UpdateFolderRequest & WithName(const char *value)
Definition: UpdateFolderRequest.h:163
Aws::QuickSight::Model::UpdateFolderRequest::WithFolderId
UpdateFolderRequest & WithFolderId(const char *value)
Definition: UpdateFolderRequest.h:122
Aws::QuickSight::Model::UpdateFolderRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFolderRequest.h:30
Aws::QuickSight::Model::UpdateFolderRequest::WithName
UpdateFolderRequest & WithName(Aws::String &&value)
Definition: UpdateFolderRequest.h:158
Aws::QuickSight::Model::UpdateFolderRequest
Definition: UpdateFolderRequest.h:22
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateFolderRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateFolderRequest.h:138
Aws::QuickSight::Model::UpdateFolderRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateFolderRequest.h:39
Aws::QuickSight::Model::UpdateFolderRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateFolderRequest.h:51