7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/EventPublisher.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CodeGuruProfiler {
33 AWS_CODEGURUPROFILER_API
Channel() =
default;
46 template <
typename EventPublishersT = Aws::Vector<EventPublisher>>
48 m_eventPublishersHasBeenSet =
true;
49 m_eventPublishers = std::forward<EventPublishersT>(value);
51 template <
typename EventPublishersT = Aws::Vector<EventPublisher>>
57 m_eventPublishersHasBeenSet =
true;
58 m_eventPublishers.push_back(value);
72 template <
typename IdT = Aws::String>
74 m_idHasBeenSet =
true;
75 m_id = std::forward<IdT>(value);
77 template <
typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
91 template <
typename UriT = Aws::String>
93 m_uriHasBeenSet =
true;
94 m_uri = std::forward<UriT>(value);
96 template <
typename UriT = Aws::String>
98 SetUri(std::forward<UriT>(value));
108 bool m_eventPublishersHasBeenSet =
false;
109 bool m_idHasBeenSet =
false;
110 bool m_uriHasBeenSet =
false;
void SetUri(UriT &&value)
Channel & WithUri(UriT &&value)
AWS_CODEGURUPROFILER_API Channel()=default
const Aws::String & GetId() const
bool UriHasBeenSet() const
const Aws::String & GetUri() const
const Aws::Vector< EventPublisher > & GetEventPublishers() const
AWS_CODEGURUPROFILER_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Channel & WithEventPublishers(EventPublishersT &&value)
Channel & WithId(IdT &&value)
bool EventPublishersHasBeenSet() const
void SetEventPublishers(EventPublishersT &&value)
Channel & AddEventPublishers(EventPublisher value)
AWS_CODEGURUPROFILER_API Channel(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue