AWS SDK for C++

AWS SDK for C++ Version 1.11.900

Loading...
Searching...
No Matches
SpaceCredentialRequestContext.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace CloudWatchOmni {
20namespace Model {
21
30 public:
31 AWS_CLOUDWATCHOMNI_API SpaceCredentialRequestContext() = default;
32 AWS_CLOUDWATCHOMNI_API SpaceCredentialRequestContext(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCHOMNI_API SpaceCredentialRequestContext& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
41 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
42 template <typename SpaceIdT = Aws::String>
43 void SetSpaceId(SpaceIdT&& value) {
44 m_spaceIdHasBeenSet = true;
45 m_spaceId = std::forward<SpaceIdT>(value);
46 }
47 template <typename SpaceIdT = Aws::String>
49 SetSpaceId(std::forward<SpaceIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDomainId() const { return m_domainId; }
60 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
61 template <typename DomainIdT = Aws::String>
62 void SetDomainId(DomainIdT&& value) {
63 m_domainIdHasBeenSet = true;
64 m_domainId = std::forward<DomainIdT>(value);
65 }
66 template <typename DomainIdT = Aws::String>
68 SetDomainId(std::forward<DomainIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetTargetAccountId() const { return m_targetAccountId; }
78 inline bool TargetAccountIdHasBeenSet() const { return m_targetAccountIdHasBeenSet; }
79 template <typename TargetAccountIdT = Aws::String>
80 void SetTargetAccountId(TargetAccountIdT&& value) {
81 m_targetAccountIdHasBeenSet = true;
82 m_targetAccountId = std::forward<TargetAccountIdT>(value);
83 }
84 template <typename TargetAccountIdT = Aws::String>
86 SetTargetAccountId(std::forward<TargetAccountIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_spaceId;
92
93 Aws::String m_domainId;
94
95 Aws::String m_targetAccountId;
96 bool m_spaceIdHasBeenSet = false;
97 bool m_domainIdHasBeenSet = false;
98 bool m_targetAccountIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace CloudWatchOmni
103} // namespace Aws
AWS_CLOUDWATCHOMNI_API SpaceCredentialRequestContext(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SpaceCredentialRequestContext & WithSpaceId(SpaceIdT &&value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCHOMNI_API SpaceCredentialRequestContext()=default
AWS_CLOUDWATCHOMNI_API SpaceCredentialRequestContext & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SpaceCredentialRequestContext & WithTargetAccountId(TargetAccountIdT &&value)
SpaceCredentialRequestContext & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String