AWS SDK for C++  1.9.123
AWS SDK for C++
GetSuiteDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTDeviceAdvisor
19 {
20 namespace Model
21 {
22 
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 "GetSuiteDefinition"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; }
45 
49  inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; }
50 
54  inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; }
55 
59  inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); }
60 
64  inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); }
65 
69  inline GetSuiteDefinitionRequest& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;}
70 
74  inline GetSuiteDefinitionRequest& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;}
75 
79  inline GetSuiteDefinitionRequest& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;}
80 
81 
85  inline const Aws::String& GetSuiteDefinitionVersion() const{ return m_suiteDefinitionVersion; }
86 
90  inline bool SuiteDefinitionVersionHasBeenSet() const { return m_suiteDefinitionVersionHasBeenSet; }
91 
95  inline void SetSuiteDefinitionVersion(const Aws::String& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = value; }
96 
100  inline void SetSuiteDefinitionVersion(Aws::String&& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = std::move(value); }
101 
105  inline void SetSuiteDefinitionVersion(const char* value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion.assign(value); }
106 
110  inline GetSuiteDefinitionRequest& WithSuiteDefinitionVersion(const Aws::String& value) { SetSuiteDefinitionVersion(value); return *this;}
111 
115  inline GetSuiteDefinitionRequest& WithSuiteDefinitionVersion(Aws::String&& value) { SetSuiteDefinitionVersion(std::move(value)); return *this;}
116 
120  inline GetSuiteDefinitionRequest& WithSuiteDefinitionVersion(const char* value) { SetSuiteDefinitionVersion(value); return *this;}
121 
122  private:
123 
124  Aws::String m_suiteDefinitionId;
125  bool m_suiteDefinitionIdHasBeenSet;
126 
127  Aws::String m_suiteDefinitionVersion;
128  bool m_suiteDefinitionVersionHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace IoTDeviceAdvisor
133 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::GetSuiteDefinitionRequest
GetSuiteDefinitionRequest()
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const char *value)
Definition: GetSuiteDefinitionRequest.h:64
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest
Definition: GetSuiteDefinitionRequest.h:26
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::GetSuiteDefinitionId
const Aws::String & GetSuiteDefinitionId() const
Definition: GetSuiteDefinitionRequest.h:44
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::WithSuiteDefinitionId
GetSuiteDefinitionRequest & WithSuiteDefinitionId(Aws::String &&value)
Definition: GetSuiteDefinitionRequest.h:74
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::GetSuiteDefinitionVersion
const Aws::String & GetSuiteDefinitionVersion() const
Definition: GetSuiteDefinitionRequest.h:85
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::WithSuiteDefinitionVersion
GetSuiteDefinitionRequest & WithSuiteDefinitionVersion(Aws::String &&value)
Definition: GetSuiteDefinitionRequest.h:115
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSuiteDefinitionRequest.h:34
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const Aws::String &value)
Definition: GetSuiteDefinitionRequest.h:54
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::WithSuiteDefinitionId
GetSuiteDefinitionRequest & WithSuiteDefinitionId(const Aws::String &value)
Definition: GetSuiteDefinitionRequest.h:69
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SuiteDefinitionIdHasBeenSet
bool SuiteDefinitionIdHasBeenSet() const
Definition: GetSuiteDefinitionRequest.h:49
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::WithSuiteDefinitionVersion
GetSuiteDefinitionRequest & WithSuiteDefinitionVersion(const Aws::String &value)
Definition: GetSuiteDefinitionRequest.h:110
AWSString.h
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(const Aws::String &value)
Definition: GetSuiteDefinitionRequest.h:95
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::WithSuiteDefinitionVersion
GetSuiteDefinitionRequest & WithSuiteDefinitionVersion(const char *value)
Definition: GetSuiteDefinitionRequest.h:120
Aws::IoTDeviceAdvisor::IoTDeviceAdvisorRequest
Definition: IoTDeviceAdvisorRequest.h:17
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(Aws::String &&value)
Definition: GetSuiteDefinitionRequest.h:59
IoTDeviceAdvisorRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(Aws::String &&value)
Definition: GetSuiteDefinitionRequest.h:100
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::WithSuiteDefinitionId
GetSuiteDefinitionRequest & WithSuiteDefinitionId(const char *value)
Definition: GetSuiteDefinitionRequest.h:79
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(const char *value)
Definition: GetSuiteDefinitionRequest.h:105
Aws::IoTDeviceAdvisor::Model::GetSuiteDefinitionRequest::SuiteDefinitionVersionHasBeenSet
bool SuiteDefinitionVersionHasBeenSet() const
Definition: GetSuiteDefinitionRequest.h:90