AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableFederationResult.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 DisableFederationResult();
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 DisableFederationResult& WithEventDataStoreArn(Aws::String&& value) { SetEventDataStoreArn(std::move(value)); return *this;}
47 inline DisableFederationResult& 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 DisableFederationResult& WithFederationStatus(FederationStatus&& value) { SetFederationStatus(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DisableFederationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DisableFederationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DisableFederationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_eventDataStoreArn;
74
75 FederationStatus m_federationStatus;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace CloudTrail
82} // namespace Aws
AWS_CLOUDTRAIL_API DisableFederationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisableFederationResult & WithRequestId(const char *value)
DisableFederationResult & WithEventDataStoreArn(Aws::String &&value)
void SetFederationStatus(const FederationStatus &value)
DisableFederationResult & WithRequestId(const Aws::String &value)
DisableFederationResult & WithFederationStatus(const FederationStatus &value)
DisableFederationResult & WithRequestId(Aws::String &&value)
DisableFederationResult & WithFederationStatus(FederationStatus &&value)
AWS_CLOUDTRAIL_API DisableFederationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisableFederationResult & WithEventDataStoreArn(const char *value)
DisableFederationResult & WithEventDataStoreArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue