AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyInstanceCpuOptionsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
42 inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
43 inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
44 inline ModifyInstanceCpuOptionsResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
45 inline ModifyInstanceCpuOptionsResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
46 inline ModifyInstanceCpuOptionsResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
48
50
54 inline int GetCoreCount() const{ return m_coreCount; }
55 inline void SetCoreCount(int value) { m_coreCount = value; }
56 inline ModifyInstanceCpuOptionsResponse& WithCoreCount(int value) { SetCoreCount(value); return *this;}
58
60
64 inline int GetThreadsPerCore() const{ return m_threadsPerCore; }
65 inline void SetThreadsPerCore(int value) { m_threadsPerCore = value; }
66 inline ModifyInstanceCpuOptionsResponse& WithThreadsPerCore(int value) { SetThreadsPerCore(value); return *this;}
68
70
71 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
72 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
73 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 private:
78
79 Aws::String m_instanceId;
80
81 int m_coreCount;
82
83 int m_threadsPerCore;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace EC2
90} // namespace Aws
ModifyInstanceCpuOptionsResponse & WithThreadsPerCore(int value)
ModifyInstanceCpuOptionsResponse & WithResponseMetadata(ResponseMetadata &&value)
ModifyInstanceCpuOptionsResponse & WithInstanceId(Aws::String &&value)
AWS_EC2_API ModifyInstanceCpuOptionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyInstanceCpuOptionsResponse & WithInstanceId(const Aws::String &value)
AWS_EC2_API ModifyInstanceCpuOptionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyInstanceCpuOptionsResponse & WithCoreCount(int value)
ModifyInstanceCpuOptionsResponse & WithResponseMetadata(const ResponseMetadata &value)
ModifyInstanceCpuOptionsResponse & WithInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument