AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
FeedSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
9#include <aws/elementalinference/model/FeedAssociation.h>
10#include <aws/elementalinference/model/FeedStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElementalInference {
22namespace Model {
23
31 public:
32 AWS_ELEMENTALINFERENCE_API FeedSummary() = default;
33 AWS_ELEMENTALINFERENCE_API FeedSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ELEMENTALINFERENCE_API FeedSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
49 FeedSummary& WithArn(ArnT&& value) {
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
67 FeedSummary& WithId(IdT&& value) {
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 FeedSummary& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const FeedAssociation& GetAssociation() const { return m_association; }
96 inline bool AssociationHasBeenSet() const { return m_associationHasBeenSet; }
97 template <typename AssociationT = FeedAssociation>
98 void SetAssociation(AssociationT&& value) {
99 m_associationHasBeenSet = true;
100 m_association = std::forward<AssociationT>(value);
101 }
102 template <typename AssociationT = FeedAssociation>
103 FeedSummary& WithAssociation(AssociationT&& value) {
104 SetAssociation(std::forward<AssociationT>(value));
105 return *this;
106 }
108
110
113 inline FeedStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(FeedStatus value) {
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124 private:
125 Aws::String m_arn;
126
127 Aws::String m_id;
128
129 Aws::String m_name;
130
131 FeedAssociation m_association;
132
134 bool m_arnHasBeenSet = false;
135 bool m_idHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_associationHasBeenSet = false;
138 bool m_statusHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace ElementalInference
143} // namespace Aws
FeedSummary & WithAssociation(AssociationT &&value)
void SetAssociation(AssociationT &&value)
Definition FeedSummary.h:98
FeedSummary & WithArn(ArnT &&value)
Definition FeedSummary.h:49
FeedSummary & WithStatus(FeedStatus value)
AWS_ELEMENTALINFERENCE_API FeedSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API FeedSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition FeedSummary.h:41
const Aws::String & GetName() const
Definition FeedSummary.h:77
const FeedAssociation & GetAssociation() const
Definition FeedSummary.h:95
FeedSummary & WithName(NameT &&value)
Definition FeedSummary.h:85
AWS_ELEMENTALINFERENCE_API FeedSummary()=default
const Aws::String & GetId() const
Definition FeedSummary.h:59
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue