AWS SDK for C++  1.9.19
AWS SDK for C++
CreateSecurityConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace EMR
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetName() const{ return m_name; }
40 
44  inline void SetName(const Aws::String& value) { m_name = value; }
45 
49  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
50 
54  inline void SetName(const char* value) { m_name.assign(value); }
55 
59  inline CreateSecurityConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 
64  inline CreateSecurityConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 
69  inline CreateSecurityConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
70 
71 
75  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
76 
80  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
81 
85  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
86 
90  inline CreateSecurityConfigurationResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
91 
95  inline CreateSecurityConfigurationResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_name;
100 
101  Aws::Utils::DateTime m_creationDateTime;
102  };
103 
104 } // namespace Model
105 } // namespace EMR
106 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::CreateSecurityConfigurationResult::CreateSecurityConfigurationResult
CreateSecurityConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::CreateSecurityConfigurationResult::SetName
void SetName(const Aws::String &value)
Definition: CreateSecurityConfigurationResult.h:44
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EMR::Model::CreateSecurityConfigurationResult::WithName
CreateSecurityConfigurationResult & WithName(Aws::String &&value)
Definition: CreateSecurityConfigurationResult.h:64
EMR_EXPORTS.h
Aws::EMR::Model::CreateSecurityConfigurationResult::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: CreateSecurityConfigurationResult.h:75
DateTime.h
Aws::EMR::Model::CreateSecurityConfigurationResult::CreateSecurityConfigurationResult
CreateSecurityConfigurationResult()
Aws::EMR::Model::CreateSecurityConfigurationResult::WithName
CreateSecurityConfigurationResult & WithName(const Aws::String &value)
Definition: CreateSecurityConfigurationResult.h:59
Aws::EMR::Model::CreateSecurityConfigurationResult::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: CreateSecurityConfigurationResult.h:80
Aws::EMR::Model::CreateSecurityConfigurationResult::GetName
const Aws::String & GetName() const
Definition: CreateSecurityConfigurationResult.h:39
Aws::EMR::Model::CreateSecurityConfigurationResult::WithCreationDateTime
CreateSecurityConfigurationResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: CreateSecurityConfigurationResult.h:90
Aws::EMR::Model::CreateSecurityConfigurationResult::WithCreationDateTime
CreateSecurityConfigurationResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: CreateSecurityConfigurationResult.h:95
Aws::EMR::Model::CreateSecurityConfigurationResult::operator=
CreateSecurityConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::CreateSecurityConfigurationResult::WithName
CreateSecurityConfigurationResult & WithName(const char *value)
Definition: CreateSecurityConfigurationResult.h:69
Aws::EMR::Model::CreateSecurityConfigurationResult::SetName
void SetName(Aws::String &&value)
Definition: CreateSecurityConfigurationResult.h:49
Aws::EMR::Model::CreateSecurityConfigurationResult::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: CreateSecurityConfigurationResult.h:85
Aws::EMR::Model::CreateSecurityConfigurationResult::SetName
void SetName(const char *value)
Definition: CreateSecurityConfigurationResult.h:54
Aws::EMR::Model::CreateSecurityConfigurationResult
Definition: CreateSecurityConfigurationResult.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28