AWS SDK for C++  1.9.41
AWS SDK for C++
SetSecurityTokenServicePreferencesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "SetSecurityTokenServicePreferences"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
48  inline const GlobalEndpointTokenVersion& GetGlobalEndpointTokenVersion() const{ return m_globalEndpointTokenVersion; }
49 
59  inline bool GlobalEndpointTokenVersionHasBeenSet() const { return m_globalEndpointTokenVersionHasBeenSet; }
60 
70  inline void SetGlobalEndpointTokenVersion(const GlobalEndpointTokenVersion& value) { m_globalEndpointTokenVersionHasBeenSet = true; m_globalEndpointTokenVersion = value; }
71 
81  inline void SetGlobalEndpointTokenVersion(GlobalEndpointTokenVersion&& value) { m_globalEndpointTokenVersionHasBeenSet = true; m_globalEndpointTokenVersion = std::move(value); }
82 
92  inline SetSecurityTokenServicePreferencesRequest& WithGlobalEndpointTokenVersion(const GlobalEndpointTokenVersion& value) { SetGlobalEndpointTokenVersion(value); return *this;}
93 
103  inline SetSecurityTokenServicePreferencesRequest& WithGlobalEndpointTokenVersion(GlobalEndpointTokenVersion&& value) { SetGlobalEndpointTokenVersion(std::move(value)); return *this;}
104 
105  private:
106 
107  GlobalEndpointTokenVersion m_globalEndpointTokenVersion;
108  bool m_globalEndpointTokenVersionHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace IAM
113 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest
Definition: SetSecurityTokenServicePreferencesRequest.h:22
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetSecurityTokenServicePreferencesRequest.h:30
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::GetGlobalEndpointTokenVersion
const GlobalEndpointTokenVersion & GetGlobalEndpointTokenVersion() const
Definition: SetSecurityTokenServicePreferencesRequest.h:48
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::SetGlobalEndpointTokenVersion
void SetGlobalEndpointTokenVersion(const GlobalEndpointTokenVersion &value)
Definition: SetSecurityTokenServicePreferencesRequest.h:70
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::SetSecurityTokenServicePreferencesRequest
SetSecurityTokenServicePreferencesRequest()
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::SetGlobalEndpointTokenVersion
void SetGlobalEndpointTokenVersion(GlobalEndpointTokenVersion &&value)
Definition: SetSecurityTokenServicePreferencesRequest.h:81
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::WithGlobalEndpointTokenVersion
SetSecurityTokenServicePreferencesRequest & WithGlobalEndpointTokenVersion(GlobalEndpointTokenVersion &&value)
Definition: SetSecurityTokenServicePreferencesRequest.h:103
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
GlobalEndpointTokenVersion.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::GlobalEndpointTokenVersion
GlobalEndpointTokenVersion
Definition: GlobalEndpointTokenVersion.h:17
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::WithGlobalEndpointTokenVersion
SetSecurityTokenServicePreferencesRequest & WithGlobalEndpointTokenVersion(const GlobalEndpointTokenVersion &value)
Definition: SetSecurityTokenServicePreferencesRequest.h:92
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::SetSecurityTokenServicePreferencesRequest::GlobalEndpointTokenVersionHasBeenSet
bool GlobalEndpointTokenVersionHasBeenSet() const
Definition: SetSecurityTokenServicePreferencesRequest.h:59