AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
InboundInvitationSummary.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/InvitationStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace Assurance {
22namespace Model {
23
32 public:
33 AWS_ASSURANCE_API InboundInvitationSummary() = default;
34 AWS_ASSURANCE_API InboundInvitationSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_ASSURANCE_API InboundInvitationSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
37
39
42 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
43 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
44 template <typename EnvironmentArnT = Aws::String>
45 void SetEnvironmentArn(EnvironmentArnT&& value) {
46 m_environmentArnHasBeenSet = true;
47 m_environmentArn = std::forward<EnvironmentArnT>(value);
48 }
49 template <typename EnvironmentArnT = Aws::String>
50 InboundInvitationSummary& WithEnvironmentArn(EnvironmentArnT&& value) {
51 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
52 return *this;
53 }
55
57
60 inline InvitationStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(InvitationStatus value) {
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
77 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
78 inline bool ExpiresAtHasBeenSet() const { return m_expiresAtHasBeenSet; }
79 template <typename ExpiresAtT = Aws::Utils::DateTime>
80 void SetExpiresAt(ExpiresAtT&& value) {
81 m_expiresAtHasBeenSet = true;
82 m_expiresAt = std::forward<ExpiresAtT>(value);
83 }
84 template <typename ExpiresAtT = Aws::Utils::DateTime>
86 SetExpiresAt(std::forward<ExpiresAtT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_environmentArn;
92
94
95 Aws::Utils::DateTime m_expiresAt{};
96 bool m_environmentArnHasBeenSet = false;
97 bool m_statusHasBeenSet = false;
98 bool m_expiresAtHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Assurance
103} // namespace Aws
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API InboundInvitationSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InboundInvitationSummary & WithEnvironmentArn(EnvironmentArnT &&value)
AWS_ASSURANCE_API InboundInvitationSummary()=default
InboundInvitationSummary & WithStatus(InvitationStatus value)
AWS_ASSURANCE_API InboundInvitationSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InboundInvitationSummary & WithExpiresAt(ExpiresAtT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String