AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIdentityPropagationConfigRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/ServiceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QuickSight
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QUICKSIGHT_API UpdateIdentityPropagationConfigRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentityPropagationConfig"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 template<typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
46 template<typename AwsAccountIdT = Aws::String>
47 UpdateIdentityPropagationConfigRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
49
51
55 inline ServiceType GetService() const { return m_service; }
56 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
57 inline void SetService(ServiceType value) { m_serviceHasBeenSet = true; m_service = value; }
60
62
66 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const { return m_authorizedTargets; }
67 inline bool AuthorizedTargetsHasBeenSet() const { return m_authorizedTargetsHasBeenSet; }
68 template<typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
69 void SetAuthorizedTargets(AuthorizedTargetsT&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = std::forward<AuthorizedTargetsT>(value); }
70 template<typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
71 UpdateIdentityPropagationConfigRequest& WithAuthorizedTargets(AuthorizedTargetsT&& value) { SetAuthorizedTargets(std::forward<AuthorizedTargetsT>(value)); return *this;}
72 template<typename AuthorizedTargetsT = Aws::String>
73 UpdateIdentityPropagationConfigRequest& AddAuthorizedTargets(AuthorizedTargetsT&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.emplace_back(std::forward<AuthorizedTargetsT>(value)); return *this; }
75 private:
76
77 Aws::String m_awsAccountId;
78 bool m_awsAccountIdHasBeenSet = false;
79
81 bool m_serviceHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_authorizedTargets;
84 bool m_authorizedTargetsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // 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