7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/IVSRequest.h>
10#include <aws/ivs/IVS_EXPORTS.h>
28 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateFailoverSlateConfiguration"; }
38 template <
typename NameT = Aws::String>
40 m_nameHasBeenSet =
true;
41 m_name = std::forward<NameT>(value);
43 template <
typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
58 m_activationThresholdSecondsHasBeenSet =
true;
59 m_activationThresholdSeconds = value;
75 m_minSlateDisplaySecondsHasBeenSet =
true;
76 m_minSlateDisplaySeconds = value;
92 m_maxSlateDisplaySecondsHasBeenSet =
true;
93 m_maxSlateDisplaySeconds = value;
113 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 m_tagsHasBeenSet =
true;
116 m_tags = std::forward<TagsT>(value);
118 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 SetTags(std::forward<TagsT>(value));
123 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
125 m_tagsHasBeenSet =
true;
126 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
133 int m_activationThresholdSeconds{0};
135 int m_minSlateDisplaySeconds{0};
137 int m_maxSlateDisplaySeconds{0};
140 bool m_nameHasBeenSet =
false;
141 bool m_activationThresholdSecondsHasBeenSet =
false;
142 bool m_minSlateDisplaySecondsHasBeenSet =
false;
143 bool m_maxSlateDisplaySecondsHasBeenSet =
false;
144 bool m_tagsHasBeenSet =
false;
int GetActivationThresholdSeconds() const
bool ActivationThresholdSecondsHasBeenSet() const
AWS_IVS_API CreateFailoverSlateConfigurationRequest()=default
CreateFailoverSlateConfigurationRequest & WithMinSlateDisplaySeconds(int value)
virtual const char * GetServiceRequestName() const override
int GetMinSlateDisplaySeconds() const
AWS_IVS_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
CreateFailoverSlateConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool MinSlateDisplaySecondsHasBeenSet() const
CreateFailoverSlateConfigurationRequest & WithMaxSlateDisplaySeconds(int value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetName(NameT &&value)
bool TagsHasBeenSet() const
void SetMaxSlateDisplaySeconds(int value)
bool MaxSlateDisplaySecondsHasBeenSet() const
CreateFailoverSlateConfigurationRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
int GetMaxSlateDisplaySeconds() const
void SetMinSlateDisplaySeconds(int value)
const Aws::String & GetName() const
void SetActivationThresholdSeconds(int value)
CreateFailoverSlateConfigurationRequest & WithActivationThresholdSeconds(int value)
CreateFailoverSlateConfigurationRequest & WithName(NameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String