AWS SDK for C++  1.9.72
AWS SDK for C++
CancelJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticTranscoder
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CancelJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
57  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 
64  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 
71  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
72 
78  inline CancelJobRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
79 
85  inline CancelJobRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
86 
92  inline CancelJobRequest& WithId(const char* value) { SetId(value); return *this;}
93 
94  private:
95 
96  Aws::String m_id;
97  bool m_idHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace ElasticTranscoder
102 } // namespace Aws
Aws::ElasticTranscoder::Model::CancelJobRequest::SetId
void SetId(Aws::String &&value)
Definition: CancelJobRequest.h:64
Aws::ElasticTranscoder::Model::CancelJobRequest::GetId
const Aws::String & GetId() const
Definition: CancelJobRequest.h:43
Aws::ElasticTranscoder::Model::CancelJobRequest::SetId
void SetId(const Aws::String &value)
Definition: CancelJobRequest.h:57
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::CancelJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticTranscoder::Model::CancelJobRequest::SetId
void SetId(const char *value)
Definition: CancelJobRequest.h:71
Aws::ElasticTranscoder::Model::CancelJobRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: CancelJobRequest.h:50
Aws::ElasticTranscoder::Model::CancelJobRequest
Definition: CancelJobRequest.h:25
Aws::ElasticTranscoder::Model::CancelJobRequest::WithId
CancelJobRequest & WithId(const Aws::String &value)
Definition: CancelJobRequest.h:78
Aws::ElasticTranscoder::Model::CancelJobRequest::WithId
CancelJobRequest & WithId(Aws::String &&value)
Definition: CancelJobRequest.h:85
Aws::ElasticTranscoder::Model::CancelJobRequest::WithId
CancelJobRequest & WithId(const char *value)
Definition: CancelJobRequest.h:92
AWSString.h
Aws::ElasticTranscoder::Model::CancelJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CancelJobRequest.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::CancelJobRequest::CancelJobRequest
CancelJobRequest()
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
ElasticTranscoderRequest.h