AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
45 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
46 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
48 inline UpdateIdentityPropagationConfigRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline UpdateIdentityPropagationConfigRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
51
53
57 inline const ServiceType& GetService() const{ return m_service; }
58 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
59 inline void SetService(const ServiceType& value) { m_serviceHasBeenSet = true; m_service = value; }
60 inline void SetService(ServiceType&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
61 inline UpdateIdentityPropagationConfigRequest& WithService(const ServiceType& value) { SetService(value); return *this;}
62 inline UpdateIdentityPropagationConfigRequest& WithService(ServiceType&& value) { SetService(std::move(value)); return *this;}
64
66
70 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const{ return m_authorizedTargets; }
71 inline bool AuthorizedTargetsHasBeenSet() const { return m_authorizedTargetsHasBeenSet; }
72 inline void SetAuthorizedTargets(const Aws::Vector<Aws::String>& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = value; }
73 inline void SetAuthorizedTargets(Aws::Vector<Aws::String>&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = std::move(value); }
76 inline UpdateIdentityPropagationConfigRequest& AddAuthorizedTargets(const Aws::String& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
77 inline UpdateIdentityPropagationConfigRequest& AddAuthorizedTargets(Aws::String&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(std::move(value)); return *this; }
78 inline UpdateIdentityPropagationConfigRequest& AddAuthorizedTargets(const char* value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
80 private:
81
82 Aws::String m_awsAccountId;
83 bool m_awsAccountIdHasBeenSet = false;
84
85 ServiceType m_service;
86 bool m_serviceHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_authorizedTargets;
89 bool m_authorizedTargetsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
UpdateIdentityPropagationConfigRequest & WithAwsAccountId(const Aws::String &value)
UpdateIdentityPropagationConfigRequest & WithService(const ServiceType &value)
UpdateIdentityPropagationConfigRequest & WithAuthorizedTargets(const Aws::Vector< Aws::String > &value)
UpdateIdentityPropagationConfigRequest & WithAwsAccountId(Aws::String &&value)
UpdateIdentityPropagationConfigRequest & AddAuthorizedTargets(const Aws::String &value)
UpdateIdentityPropagationConfigRequest & WithAwsAccountId(const char *value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateIdentityPropagationConfigRequest & WithService(ServiceType &&value)
UpdateIdentityPropagationConfigRequest & WithAuthorizedTargets(Aws::Vector< Aws::String > &&value)
UpdateIdentityPropagationConfigRequest & AddAuthorizedTargets(const char *value)
UpdateIdentityPropagationConfigRequest & AddAuthorizedTargets(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector