AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateSelfUpgradeRequest.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#include <aws/quicksight/model/SelfUpgradeAdminAction.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API UpdateSelfUpgradeRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSelfUpgrade"; }
29
30 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
38 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetNamespace() const { return m_namespace; }
56 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
57 template <typename NamespaceT = Aws::String>
58 void SetNamespace(NamespaceT&& value) {
59 m_namespaceHasBeenSet = true;
60 m_namespace = std::forward<NamespaceT>(value);
61 }
62 template <typename NamespaceT = Aws::String>
64 SetNamespace(std::forward<NamespaceT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetUpgradeRequestId() const { return m_upgradeRequestId; }
74 inline bool UpgradeRequestIdHasBeenSet() const { return m_upgradeRequestIdHasBeenSet; }
75 template <typename UpgradeRequestIdT = Aws::String>
76 void SetUpgradeRequestId(UpgradeRequestIdT&& value) {
77 m_upgradeRequestIdHasBeenSet = true;
78 m_upgradeRequestId = std::forward<UpgradeRequestIdT>(value);
79 }
80 template <typename UpgradeRequestIdT = Aws::String>
81 UpdateSelfUpgradeRequest& WithUpgradeRequestId(UpgradeRequestIdT&& value) {
82 SetUpgradeRequestId(std::forward<UpgradeRequestIdT>(value));
83 return *this;
84 }
86
88
92 inline SelfUpgradeAdminAction GetAction() const { return m_action; }
93 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
94 inline void SetAction(SelfUpgradeAdminAction value) {
95 m_actionHasBeenSet = true;
96 m_action = value;
97 }
99 SetAction(value);
100 return *this;
101 }
103 private:
104 Aws::String m_awsAccountId;
105
106 Aws::String m_namespace;
107
108 Aws::String m_upgradeRequestId;
109
111 bool m_awsAccountIdHasBeenSet = false;
112 bool m_namespaceHasBeenSet = false;
113 bool m_upgradeRequestIdHasBeenSet = false;
114 bool m_actionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
UpdateSelfUpgradeRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateSelfUpgradeRequest & WithAction(SelfUpgradeAdminAction value)
UpdateSelfUpgradeRequest & WithUpgradeRequestId(UpgradeRequestIdT &&value)
UpdateSelfUpgradeRequest & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API UpdateSelfUpgradeRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String