AWS SDK for C++

AWS SDK for C++ Version 1.11.921

Loading...
Searching...
No Matches
UpdateFailoverSlateConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/ivs/IVS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IVS {
15namespace Model {
16
20 public:
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateFailoverSlateConfiguration"; }
28
29 AWS_IVS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
72 inline int GetActivationThresholdSeconds() const { return m_activationThresholdSeconds; }
73 inline bool ActivationThresholdSecondsHasBeenSet() const { return m_activationThresholdSecondsHasBeenSet; }
74 inline void SetActivationThresholdSeconds(int value) {
75 m_activationThresholdSecondsHasBeenSet = true;
76 m_activationThresholdSeconds = value;
77 }
80 return *this;
81 }
83
85
89 inline int GetMinSlateDisplaySeconds() const { return m_minSlateDisplaySeconds; }
90 inline bool MinSlateDisplaySecondsHasBeenSet() const { return m_minSlateDisplaySecondsHasBeenSet; }
91 inline void SetMinSlateDisplaySeconds(int value) {
92 m_minSlateDisplaySecondsHasBeenSet = true;
93 m_minSlateDisplaySeconds = value;
94 }
97 return *this;
98 }
100
102
106 inline int GetMaxSlateDisplaySeconds() const { return m_maxSlateDisplaySeconds; }
107 inline bool MaxSlateDisplaySecondsHasBeenSet() const { return m_maxSlateDisplaySecondsHasBeenSet; }
108 inline void SetMaxSlateDisplaySeconds(int value) {
109 m_maxSlateDisplaySecondsHasBeenSet = true;
110 m_maxSlateDisplaySeconds = value;
111 }
114 return *this;
115 }
117 private:
118 Aws::String m_arn;
119
120 Aws::String m_name;
121
122 int m_activationThresholdSeconds{0};
123
124 int m_minSlateDisplaySeconds{0};
125
126 int m_maxSlateDisplaySeconds{0};
127 bool m_arnHasBeenSet = false;
128 bool m_nameHasBeenSet = false;
129 bool m_activationThresholdSecondsHasBeenSet = false;
130 bool m_minSlateDisplaySecondsHasBeenSet = false;
131 bool m_maxSlateDisplaySecondsHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace IVS
136} // namespace Aws
UpdateFailoverSlateConfigurationRequest & WithMaxSlateDisplaySeconds(int value)
UpdateFailoverSlateConfigurationRequest & WithArn(ArnT &&value)
UpdateFailoverSlateConfigurationRequest & WithActivationThresholdSeconds(int value)
AWS_IVS_API Aws::String SerializePayload() const override
UpdateFailoverSlateConfigurationRequest & WithName(NameT &&value)
UpdateFailoverSlateConfigurationRequest & WithMinSlateDisplaySeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String