AWS SDK for C++  1.8.71
AWS SDK for C++
ReadPresetRequest.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 "ReadPreset"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetId() const{ return m_id; }
43 
48  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
66  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 
72  inline ReadPresetRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
78  inline ReadPresetRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 
84  inline ReadPresetRequest& WithId(const char* value) { SetId(value); return *this;}
85 
86  private:
87 
88  Aws::String m_id;
89  bool m_idHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace ElasticTranscoder
94 } // namespace Aws
ReadPresetRequest & WithId(Aws::String &&value)
ReadPresetRequest & WithId(const char *value)
virtual const char * GetServiceRequestName() const override
#define AWS_ELASTICTRANSCODER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ReadPresetRequest & WithId(const Aws::String &value)