AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
UpdateSourceEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10#include <aws/mediaconnect/model/SourceEndpointConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaConnect {
16namespace Model {
17
21 public:
22 AWS_MEDIACONNECT_API UpdateSourceEndpointRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSourceEndpoint"; }
29
30 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const SourceEndpointConfiguration& GetConfiguration() const { return m_configuration; }
73 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
74 template <typename ConfigurationT = SourceEndpointConfiguration>
75 void SetConfiguration(ConfigurationT&& value) {
76 m_configurationHasBeenSet = true;
77 m_configuration = std::forward<ConfigurationT>(value);
78 }
79 template <typename ConfigurationT = SourceEndpointConfiguration>
81 SetConfiguration(std::forward<ConfigurationT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_arn;
87
88 Aws::String m_description;
89
90 SourceEndpointConfiguration m_configuration;
91 bool m_arnHasBeenSet = false;
92 bool m_descriptionHasBeenSet = false;
93 bool m_configurationHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace MediaConnect
98} // namespace Aws
AWS_MEDIACONNECT_API UpdateSourceEndpointRequest()=default
const SourceEndpointConfiguration & GetConfiguration() const
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateSourceEndpointRequest & WithDescription(DescriptionT &&value)
UpdateSourceEndpointRequest & WithConfiguration(ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String