AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
AssociatedCollector.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Continuum {
20namespace Model {
21
28 public:
29 AWS_CONTINUUM_API AssociatedCollector() = default;
30 AWS_CONTINUUM_API AssociatedCollector(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetCollectorId() const { return m_collectorId; }
39 inline bool CollectorIdHasBeenSet() const { return m_collectorIdHasBeenSet; }
40 template <typename CollectorIdT = Aws::String>
41 void SetCollectorId(CollectorIdT&& value) {
42 m_collectorIdHasBeenSet = true;
43 m_collectorId = std::forward<CollectorIdT>(value);
44 }
45 template <typename CollectorIdT = Aws::String>
46 AssociatedCollector& WithCollectorId(CollectorIdT&& value) {
47 SetCollectorId(std::forward<CollectorIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetCollectorArn() const { return m_collectorArn; }
58 inline bool CollectorArnHasBeenSet() const { return m_collectorArnHasBeenSet; }
59 template <typename CollectorArnT = Aws::String>
60 void SetCollectorArn(CollectorArnT&& value) {
61 m_collectorArnHasBeenSet = true;
62 m_collectorArn = std::forward<CollectorArnT>(value);
63 }
64 template <typename CollectorArnT = Aws::String>
65 AssociatedCollector& WithCollectorArn(CollectorArnT&& value) {
66 SetCollectorArn(std::forward<CollectorArnT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_collectorId;
72
73 Aws::String m_collectorArn;
74 bool m_collectorIdHasBeenSet = false;
75 bool m_collectorArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Continuum
80} // namespace Aws
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
AssociatedCollector & WithCollectorId(CollectorIdT &&value)
AssociatedCollector & WithCollectorArn(CollectorArnT &&value)
AWS_CONTINUUM_API AssociatedCollector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API AssociatedCollector(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API AssociatedCollector()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue