AWS SDK for C++  1.9.66
AWS SDK for C++
ReadJobRequest.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 "ReadJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetId() const{ return m_id; }
42 
46  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 
51  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 
56  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 
61  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
62 
66  inline ReadJobRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
67 
71  inline ReadJobRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 
76  inline ReadJobRequest& WithId(const char* value) { SetId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_id;
81  bool m_idHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace ElasticTranscoder
86 } // namespace Aws
Aws::ElasticTranscoder::Model::ReadJobRequest::ReadJobRequest
ReadJobRequest()
Aws::ElasticTranscoder::Model::ReadJobRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ReadJobRequest.h:46
Aws::ElasticTranscoder::Model::ReadJobRequest::SetId
void SetId(Aws::String &&value)
Definition: ReadJobRequest.h:56
Aws::ElasticTranscoder::Model::ReadJobRequest::WithId
ReadJobRequest & WithId(Aws::String &&value)
Definition: ReadJobRequest.h:71
Aws::ElasticTranscoder::Model::ReadJobRequest::WithId
ReadJobRequest & WithId(const Aws::String &value)
Definition: ReadJobRequest.h:66
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::ReadJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ReadJobRequest.h:33
Aws::ElasticTranscoder::Model::ReadJobRequest::WithId
ReadJobRequest & WithId(const char *value)
Definition: ReadJobRequest.h:76
Aws::ElasticTranscoder::Model::ReadJobRequest
Definition: ReadJobRequest.h:25
Aws::ElasticTranscoder::Model::ReadJobRequest::GetId
const Aws::String & GetId() const
Definition: ReadJobRequest.h:41
Aws::ElasticTranscoder::Model::ReadJobRequest::SetId
void SetId(const Aws::String &value)
Definition: ReadJobRequest.h:51
AWSString.h
Aws::ElasticTranscoder::Model::ReadJobRequest::SetId
void SetId(const char *value)
Definition: ReadJobRequest.h:61
Aws::ElasticTranscoder::Model::ReadJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
ElasticTranscoderRequest.h