AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateDashboardPublishedVersionRequest.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 "UpdateDashboardPublishedVersion"; }
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 UpdateDashboardPublishedVersionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline UpdateDashboardPublishedVersionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline UpdateDashboardPublishedVersionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
88 
92  inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
93 
97  inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
98 
102  inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
103 
107  inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
108 
112  inline UpdateDashboardPublishedVersionRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
113 
117  inline UpdateDashboardPublishedVersionRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
118 
122  inline UpdateDashboardPublishedVersionRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
123 
124 
128  inline long long GetVersionNumber() const{ return m_versionNumber; }
129 
133  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
134 
138  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
139 
143  inline UpdateDashboardPublishedVersionRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
144 
145  private:
146 
147  Aws::String m_awsAccountId;
148  bool m_awsAccountIdHasBeenSet;
149 
150  Aws::String m_dashboardId;
151  bool m_dashboardIdHasBeenSet;
152 
153  long long m_versionNumber;
154  bool m_versionNumberHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace QuickSight
159 } // namespace Aws
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetDashboardId
void SetDashboardId(const char *value)
Definition: UpdateDashboardPublishedVersionRequest.h:107
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateDashboardPublishedVersionRequest.h:51
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithVersionNumber
UpdateDashboardPublishedVersionRequest & WithVersionNumber(long long value)
Definition: UpdateDashboardPublishedVersionRequest.h:143
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: UpdateDashboardPublishedVersionRequest.h:102
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateDashboardPublishedVersionRequest.h:57
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::GetVersionNumber
long long GetVersionNumber() const
Definition: UpdateDashboardPublishedVersionRequest.h:128
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetVersionNumber
void SetVersionNumber(long long value)
Definition: UpdateDashboardPublishedVersionRequest.h:138
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::DashboardIdHasBeenSet
bool DashboardIdHasBeenSet() const
Definition: UpdateDashboardPublishedVersionRequest.h:92
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: UpdateDashboardPublishedVersionRequest.h:87
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDashboardPublishedVersionRequest.h:30
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateDashboardPublishedVersionRequest.h:39
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateDashboardPublishedVersionRequest.h:63
QuickSightRequest.h
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::UpdateDashboardPublishedVersionRequest
UpdateDashboardPublishedVersionRequest()
AWSString.h
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateDashboardPublishedVersionRequest.h:45
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithAwsAccountId
UpdateDashboardPublishedVersionRequest & WithAwsAccountId(const char *value)
Definition: UpdateDashboardPublishedVersionRequest.h:81
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithDashboardId
UpdateDashboardPublishedVersionRequest & WithDashboardId(Aws::String &&value)
Definition: UpdateDashboardPublishedVersionRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: UpdateDashboardPublishedVersionRequest.h:133
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithAwsAccountId
UpdateDashboardPublishedVersionRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateDashboardPublishedVersionRequest.h:69
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithAwsAccountId
UpdateDashboardPublishedVersionRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateDashboardPublishedVersionRequest.h:75
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest
Definition: UpdateDashboardPublishedVersionRequest.h:22
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithDashboardId
UpdateDashboardPublishedVersionRequest & WithDashboardId(const Aws::String &value)
Definition: UpdateDashboardPublishedVersionRequest.h:112
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: UpdateDashboardPublishedVersionRequest.h:97
Aws::QuickSight::Model::UpdateDashboardPublishedVersionRequest::WithDashboardId
UpdateDashboardPublishedVersionRequest & WithDashboardId(const char *value)
Definition: UpdateDashboardPublishedVersionRequest.h:122