AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
IntegrationIdentifier.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 IntegrationIdentifier() = default;
32 AWS_CLOUDWATCHOMNI_API IntegrationIdentifier(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCHOMNI_API IntegrationIdentifier& 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& GetIntegrationId() const { return m_integrationId; }
41 inline bool IntegrationIdHasBeenSet() const { return m_integrationIdHasBeenSet; }
42 template <typename IntegrationIdT = Aws::String>
43 void SetIntegrationId(IntegrationIdT&& value) {
44 m_integrationIdHasBeenSet = true;
45 m_integrationId = std::forward<IntegrationIdT>(value);
46 }
47 template <typename IntegrationIdT = Aws::String>
48 IntegrationIdentifier& WithIntegrationId(IntegrationIdT&& value) {
49 SetIntegrationId(std::forward<IntegrationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
59 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
60 template <typename IntegrationArnT = Aws::String>
61 void SetIntegrationArn(IntegrationArnT&& value) {
62 m_integrationArnHasBeenSet = true;
63 m_integrationArn = std::forward<IntegrationArnT>(value);
64 }
65 template <typename IntegrationArnT = Aws::String>
66 IntegrationIdentifier& WithIntegrationArn(IntegrationArnT&& value) {
67 SetIntegrationArn(std::forward<IntegrationArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetIntegrationName() const { return m_integrationName; }
77 inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; }
78 template <typename IntegrationNameT = Aws::String>
79 void SetIntegrationName(IntegrationNameT&& value) {
80 m_integrationNameHasBeenSet = true;
81 m_integrationName = std::forward<IntegrationNameT>(value);
82 }
83 template <typename IntegrationNameT = Aws::String>
84 IntegrationIdentifier& WithIntegrationName(IntegrationNameT&& value) {
85 SetIntegrationName(std::forward<IntegrationNameT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_integrationId;
91
92 Aws::String m_integrationArn;
93
94 Aws::String m_integrationName;
95 bool m_integrationIdHasBeenSet = false;
96 bool m_integrationArnHasBeenSet = false;
97 bool m_integrationNameHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace CloudWatchOmni
102} // namespace Aws
AWS_CLOUDWATCHOMNI_API IntegrationIdentifier()=default
IntegrationIdentifier & WithIntegrationArn(IntegrationArnT &&value)
AWS_CLOUDWATCHOMNI_API IntegrationIdentifier & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCHOMNI_API IntegrationIdentifier(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
IntegrationIdentifier & WithIntegrationId(IntegrationIdT &&value)
IntegrationIdentifier & WithIntegrationName(IntegrationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String