7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguruprofiler/model/EventPublisher.h>
23namespace CodeGuruProfiler
38 AWS_CODEGURUPROFILER_API
Channel() =
default;
52 template<
typename EventPublishersT = Aws::Vector<EventPublisher>>
53 void SetEventPublishers(EventPublishersT&& value) { m_eventPublishersHasBeenSet =
true; m_eventPublishers = std::forward<EventPublishersT>(value); }
54 template<
typename EventPublishersT = Aws::Vector<EventPublisher>>
68 template<
typename IdT = Aws::String>
69 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
70 template<
typename IdT = Aws::String>
81 template<
typename UriT = Aws::String>
82 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
83 template<
typename UriT = Aws::String>
89 bool m_eventPublishersHasBeenSet =
false;
92 bool m_idHasBeenSet =
false;
95 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