AWS SDK for C++  1.9.158
AWS SDK for C++
ConfigureLogsForPlaybackConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaTailor
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ConfigureLogsForPlaybackConfiguration"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
49  inline int GetPercentEnabled() const{ return m_percentEnabled; }
50 
61  inline bool PercentEnabledHasBeenSet() const { return m_percentEnabledHasBeenSet; }
62 
73  inline void SetPercentEnabled(int value) { m_percentEnabledHasBeenSet = true; m_percentEnabled = value; }
74 
85  inline ConfigureLogsForPlaybackConfigurationRequest& WithPercentEnabled(int value) { SetPercentEnabled(value); return *this;}
86 
87 
91  inline const Aws::String& GetPlaybackConfigurationName() const{ return m_playbackConfigurationName; }
92 
96  inline bool PlaybackConfigurationNameHasBeenSet() const { return m_playbackConfigurationNameHasBeenSet; }
97 
101  inline void SetPlaybackConfigurationName(const Aws::String& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = value; }
102 
106  inline void SetPlaybackConfigurationName(Aws::String&& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = std::move(value); }
107 
111  inline void SetPlaybackConfigurationName(const char* value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName.assign(value); }
112 
116  inline ConfigureLogsForPlaybackConfigurationRequest& WithPlaybackConfigurationName(const Aws::String& value) { SetPlaybackConfigurationName(value); return *this;}
117 
121  inline ConfigureLogsForPlaybackConfigurationRequest& WithPlaybackConfigurationName(Aws::String&& value) { SetPlaybackConfigurationName(std::move(value)); return *this;}
122 
126  inline ConfigureLogsForPlaybackConfigurationRequest& WithPlaybackConfigurationName(const char* value) { SetPlaybackConfigurationName(value); return *this;}
127 
128  private:
129 
130  int m_percentEnabled;
131  bool m_percentEnabledHasBeenSet;
132 
133  Aws::String m_playbackConfigurationName;
134  bool m_playbackConfigurationNameHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace MediaTailor
139 } // namespace Aws
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::GetPercentEnabled
int GetPercentEnabled() const
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:49
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::GetPlaybackConfigurationName
const Aws::String & GetPlaybackConfigurationName() const
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:91
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:34
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::PercentEnabledHasBeenSet
bool PercentEnabledHasBeenSet() const
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:61
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::ConfigureLogsForPlaybackConfigurationRequest
ConfigureLogsForPlaybackConfigurationRequest()
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::WithPercentEnabled
ConfigureLogsForPlaybackConfigurationRequest & WithPercentEnabled(int value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:85
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:26
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::WithPlaybackConfigurationName
ConfigureLogsForPlaybackConfigurationRequest & WithPlaybackConfigurationName(Aws::String &&value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:121
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::SetPlaybackConfigurationName
void SetPlaybackConfigurationName(Aws::String &&value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:106
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::WithPlaybackConfigurationName
ConfigureLogsForPlaybackConfigurationRequest & WithPlaybackConfigurationName(const char *value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:126
AWSString.h
MediaTailorRequest.h
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::WithPlaybackConfigurationName
ConfigureLogsForPlaybackConfigurationRequest & WithPlaybackConfigurationName(const Aws::String &value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:116
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::SetPlaybackConfigurationName
void SetPlaybackConfigurationName(const char *value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::PlaybackConfigurationNameHasBeenSet
bool PlaybackConfigurationNameHasBeenSet() const
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::SetPercentEnabled
void SetPercentEnabled(int value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:73
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::ConfigureLogsForPlaybackConfigurationRequest::SetPlaybackConfigurationName
void SetPlaybackConfigurationName(const Aws::String &value)
Definition: ConfigureLogsForPlaybackConfigurationRequest.h:101