AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateIdentityPropagationConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ServiceType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API UpdateIdentityPropagationConfigRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentityPropagationConfig"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
57 inline ServiceType GetService() const { return m_service; }
58 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
59 inline void SetService(ServiceType value) {
60 m_serviceHasBeenSet = true;
61 m_service = value;
62 }
64 SetService(value);
65 return *this;
66 }
68
70
74 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const { return m_authorizedTargets; }
75 inline bool AuthorizedTargetsHasBeenSet() const { return m_authorizedTargetsHasBeenSet; }
76 template <typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
77 void SetAuthorizedTargets(AuthorizedTargetsT&& value) {
78 m_authorizedTargetsHasBeenSet = true;
79 m_authorizedTargets = std::forward<AuthorizedTargetsT>(value);
80 }
81 template <typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
83 SetAuthorizedTargets(std::forward<AuthorizedTargetsT>(value));
84 return *this;
85 }
86 template <typename AuthorizedTargetsT = Aws::String>
88 m_authorizedTargetsHasBeenSet = true;
89 m_authorizedTargets.emplace_back(std::forward<AuthorizedTargetsT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_awsAccountId;
95
97
98 Aws::Vector<Aws::String> m_authorizedTargets;
99 bool m_awsAccountIdHasBeenSet = false;
100 bool m_serviceHasBeenSet = false;
101 bool m_authorizedTargetsHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
UpdateIdentityPropagationConfigRequest & AddAuthorizedTargets(AuthorizedTargetsT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateIdentityPropagationConfigRequest & WithAwsAccountId(AwsAccountIdT &&value)
UpdateIdentityPropagationConfigRequest & WithService(ServiceType value)
UpdateIdentityPropagationConfigRequest & WithAuthorizedTargets(AuthorizedTargetsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector