AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableFederationResult.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/FederationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CloudTrail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDTRAIL_API EnableFederationResult();
34
35
37
41 inline const Aws::String& GetEventDataStoreArn() const{ return m_eventDataStoreArn; }
42 inline void SetEventDataStoreArn(const Aws::String& value) { m_eventDataStoreArn = value; }
43 inline void SetEventDataStoreArn(Aws::String&& value) { m_eventDataStoreArn = std::move(value); }
44 inline void SetEventDataStoreArn(const char* value) { m_eventDataStoreArn.assign(value); }
46 inline EnableFederationResult& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
47 inline EnableFederationResult& WithEventDataStoreArn(const char* value) { SetEventDataStoreArn(value); return *this;}
49
51
54 inline const FederationStatus& GetFederationStatus() const{ return m_federationStatus; }
55 inline void SetFederationStatus(const FederationStatus& value) { m_federationStatus = value; }
56 inline void SetFederationStatus(FederationStatus&& value) { m_federationStatus = std::move(value); }
58 inline EnableFederationResult& WithFederationStatus(FederationStatus&& value) { SetFederationStatus(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetFederationRoleArn() const{ return m_federationRoleArn; }
66 inline void SetFederationRoleArn(const Aws::String& value) { m_federationRoleArn = value; }
67 inline void SetFederationRoleArn(Aws::String&& value) { m_federationRoleArn = std::move(value); }
68 inline void SetFederationRoleArn(const char* value) { m_federationRoleArn.assign(value); }
70 inline EnableFederationResult& WithFederationRoleArn(Aws::String&& value) { SetFederationRoleArn(std::move(value)); return *this;}
71 inline EnableFederationResult& WithFederationRoleArn(const char* value) { SetFederationRoleArn(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline EnableFederationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline EnableFederationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline EnableFederationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_eventDataStoreArn;
87
88 FederationStatus m_federationStatus;
89
90 Aws::String m_federationRoleArn;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace CloudTrail
97} // namespace Aws
EnableFederationResult & WithRequestId(Aws::String &&value)
void SetFederationStatus(const FederationStatus &value)
EnableFederationResult & WithRequestId(const Aws::String &value)
EnableFederationResult & WithFederationRoleArn(const Aws::String &value)
EnableFederationResult & WithFederationStatus(FederationStatus &&value)
EnableFederationResult & WithFederationStatus(const FederationStatus &value)
const FederationStatus & GetFederationStatus() const
EnableFederationResult & WithFederationRoleArn(const char *value)
EnableFederationResult & WithEventDataStoreArn(const char *value)
AWS_CLOUDTRAIL_API EnableFederationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EnableFederationResult & WithEventDataStoreArn(Aws::String &&value)
AWS_CLOUDTRAIL_API EnableFederationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EnableFederationResult & WithEventDataStoreArn(const Aws::String &value)
EnableFederationResult & WithRequestId(const char *value)
EnableFederationResult & WithFederationRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue