AWS SDK for C++  1.9.156
AWS SDK for C++
GetStreamingDistributionConfig2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFront
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 "GetStreamingDistributionConfig"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetId() const{ return m_id; }
43 
47  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 
52  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
62  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 
67  inline GetStreamingDistributionConfig2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline GetStreamingDistributionConfig2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline GetStreamingDistributionConfig2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
78 
79  private:
80 
81  Aws::String m_id;
82  bool m_idHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace CloudFront
87 } // namespace Aws
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::WithId
GetStreamingDistributionConfig2020_05_31Request & WithId(const char *value)
Definition: GetStreamingDistributionConfig2020_05_31Request.h:77
CloudFrontRequest.h
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::WithId
GetStreamingDistributionConfig2020_05_31Request & WithId(const Aws::String &value)
Definition: GetStreamingDistributionConfig2020_05_31Request.h:67
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetStreamingDistributionConfig2020_05_31Request.h:47
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: GetStreamingDistributionConfig2020_05_31Request.h:57
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::WithId
GetStreamingDistributionConfig2020_05_31Request & WithId(Aws::String &&value)
Definition: GetStreamingDistributionConfig2020_05_31Request.h:72
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::GetStreamingDistributionConfig2020_05_31Request
GetStreamingDistributionConfig2020_05_31Request()
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetStreamingDistributionConfig2020_05_31Request.h:34
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request
Definition: GetStreamingDistributionConfig2020_05_31Request.h:26
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: GetStreamingDistributionConfig2020_05_31Request.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::SetId
void SetId(const char *value)
Definition: GetStreamingDistributionConfig2020_05_31Request.h:62
Aws::CloudFront::Model::GetStreamingDistributionConfig2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: GetStreamingDistributionConfig2020_05_31Request.h:52