AWS SDK for C++  1.9.132
AWS SDK for C++
CreateSecurityProfileResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
39 
43  inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileName = value; }
44 
48  inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileName = std::move(value); }
49 
53  inline void SetSecurityProfileName(const char* value) { m_securityProfileName.assign(value); }
54 
58  inline CreateSecurityProfileResult& WithSecurityProfileName(const Aws::String& value) { SetSecurityProfileName(value); return *this;}
59 
63  inline CreateSecurityProfileResult& WithSecurityProfileName(Aws::String&& value) { SetSecurityProfileName(std::move(value)); return *this;}
64 
68  inline CreateSecurityProfileResult& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
69 
70 
74  inline const Aws::String& GetSecurityProfileArn() const{ return m_securityProfileArn; }
75 
79  inline void SetSecurityProfileArn(const Aws::String& value) { m_securityProfileArn = value; }
80 
84  inline void SetSecurityProfileArn(Aws::String&& value) { m_securityProfileArn = std::move(value); }
85 
89  inline void SetSecurityProfileArn(const char* value) { m_securityProfileArn.assign(value); }
90 
94  inline CreateSecurityProfileResult& WithSecurityProfileArn(const Aws::String& value) { SetSecurityProfileArn(value); return *this;}
95 
99  inline CreateSecurityProfileResult& WithSecurityProfileArn(Aws::String&& value) { SetSecurityProfileArn(std::move(value)); return *this;}
100 
104  inline CreateSecurityProfileResult& WithSecurityProfileArn(const char* value) { SetSecurityProfileArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_securityProfileName;
109 
110  Aws::String m_securityProfileArn;
111  };
112 
113 } // namespace Model
114 } // namespace IoT
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateSecurityProfileResult::SetSecurityProfileArn
void SetSecurityProfileArn(Aws::String &&value)
Definition: CreateSecurityProfileResult.h:84
Aws::IoT::Model::CreateSecurityProfileResult::SetSecurityProfileName
void SetSecurityProfileName(const Aws::String &value)
Definition: CreateSecurityProfileResult.h:43
Aws::IoT::Model::CreateSecurityProfileResult::CreateSecurityProfileResult
CreateSecurityProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateSecurityProfileResult::WithSecurityProfileName
CreateSecurityProfileResult & WithSecurityProfileName(const char *value)
Definition: CreateSecurityProfileResult.h:68
Aws::IoT::Model::CreateSecurityProfileResult
Definition: CreateSecurityProfileResult.h:28
Aws::IoT::Model::CreateSecurityProfileResult::WithSecurityProfileArn
CreateSecurityProfileResult & WithSecurityProfileArn(const char *value)
Definition: CreateSecurityProfileResult.h:104
Aws::IoT::Model::CreateSecurityProfileResult::SetSecurityProfileArn
void SetSecurityProfileArn(const Aws::String &value)
Definition: CreateSecurityProfileResult.h:79
Aws::IoT::Model::CreateSecurityProfileResult::WithSecurityProfileArn
CreateSecurityProfileResult & WithSecurityProfileArn(const Aws::String &value)
Definition: CreateSecurityProfileResult.h:94
Aws::IoT::Model::CreateSecurityProfileResult::SetSecurityProfileArn
void SetSecurityProfileArn(const char *value)
Definition: CreateSecurityProfileResult.h:89
Aws::IoT::Model::CreateSecurityProfileResult::GetSecurityProfileArn
const Aws::String & GetSecurityProfileArn() const
Definition: CreateSecurityProfileResult.h:74
Aws::IoT::Model::CreateSecurityProfileResult::operator=
CreateSecurityProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateSecurityProfileResult::WithSecurityProfileName
CreateSecurityProfileResult & WithSecurityProfileName(Aws::String &&value)
Definition: CreateSecurityProfileResult.h:63
AWSString.h
Aws::IoT::Model::CreateSecurityProfileResult::GetSecurityProfileName
const Aws::String & GetSecurityProfileName() const
Definition: CreateSecurityProfileResult.h:38
Aws::IoT::Model::CreateSecurityProfileResult::WithSecurityProfileName
CreateSecurityProfileResult & WithSecurityProfileName(const Aws::String &value)
Definition: CreateSecurityProfileResult.h:58
Aws::IoT::Model::CreateSecurityProfileResult::SetSecurityProfileName
void SetSecurityProfileName(Aws::String &&value)
Definition: CreateSecurityProfileResult.h:48
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateSecurityProfileResult::WithSecurityProfileArn
CreateSecurityProfileResult & WithSecurityProfileArn(Aws::String &&value)
Definition: CreateSecurityProfileResult.h:99
Aws::IoT::Model::CreateSecurityProfileResult::CreateSecurityProfileResult
CreateSecurityProfileResult()
Aws::IoT::Model::CreateSecurityProfileResult::SetSecurityProfileName
void SetSecurityProfileName(const char *value)
Definition: CreateSecurityProfileResult.h:53
IoT_EXPORTS.h