AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateSelfUpgradeConfigurationRequest.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/SelfUpgradeStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QuickSight {
16namespace Model {
17
21 public:
22 AWS_QUICKSIGHT_API UpdateSelfUpgradeConfigurationRequest() = 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 "UpdateSelfUpgradeConfiguration"; }
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
56 inline const Aws::String& GetNamespace() const { return m_namespace; }
57 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
58 template <typename NamespaceT = Aws::String>
59 void SetNamespace(NamespaceT&& value) {
60 m_namespaceHasBeenSet = true;
61 m_namespace = std::forward<NamespaceT>(value);
62 }
63 template <typename NamespaceT = Aws::String>
65 SetNamespace(std::forward<NamespaceT>(value));
66 return *this;
67 }
69
71
74 inline SelfUpgradeStatus GetSelfUpgradeStatus() const { return m_selfUpgradeStatus; }
75 inline bool SelfUpgradeStatusHasBeenSet() const { return m_selfUpgradeStatusHasBeenSet; }
77 m_selfUpgradeStatusHasBeenSet = true;
78 m_selfUpgradeStatus = value;
79 }
82 return *this;
83 }
85 private:
86 Aws::String m_awsAccountId;
87
88 Aws::String m_namespace;
89
91 bool m_awsAccountIdHasBeenSet = false;
92 bool m_namespaceHasBeenSet = false;
93 bool m_selfUpgradeStatusHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
UpdateSelfUpgradeConfigurationRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateSelfUpgradeConfigurationRequest & WithNamespace(NamespaceT &&value)
UpdateSelfUpgradeConfigurationRequest & WithSelfUpgradeStatus(SelfUpgradeStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String