AWS SDK for C++  1.9.132
AWS SDK for C++
CodeSigningCertificateChain.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 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
45 
49  inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
50 
54  inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
55 
59  inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
60 
64  inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
65 
69  inline CodeSigningCertificateChain& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
70 
74  inline CodeSigningCertificateChain& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
75 
79  inline CodeSigningCertificateChain& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
80 
81 
86  inline const Aws::String& GetInlineDocument() const{ return m_inlineDocument; }
87 
92  inline bool InlineDocumentHasBeenSet() const { return m_inlineDocumentHasBeenSet; }
93 
98  inline void SetInlineDocument(const Aws::String& value) { m_inlineDocumentHasBeenSet = true; m_inlineDocument = value; }
99 
104  inline void SetInlineDocument(Aws::String&& value) { m_inlineDocumentHasBeenSet = true; m_inlineDocument = std::move(value); }
105 
110  inline void SetInlineDocument(const char* value) { m_inlineDocumentHasBeenSet = true; m_inlineDocument.assign(value); }
111 
116  inline CodeSigningCertificateChain& WithInlineDocument(const Aws::String& value) { SetInlineDocument(value); return *this;}
117 
122  inline CodeSigningCertificateChain& WithInlineDocument(Aws::String&& value) { SetInlineDocument(std::move(value)); return *this;}
123 
128  inline CodeSigningCertificateChain& WithInlineDocument(const char* value) { SetInlineDocument(value); return *this;}
129 
130  private:
131 
132  Aws::String m_certificateName;
133  bool m_certificateNameHasBeenSet;
134 
135  Aws::String m_inlineDocument;
136  bool m_inlineDocumentHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace IoT
141 } // namespace Aws
Aws::IoT::Model::CodeSigningCertificateChain::SetInlineDocument
void SetInlineDocument(Aws::String &&value)
Definition: CodeSigningCertificateChain.h:104
Aws::IoT::Model::CodeSigningCertificateChain::SetInlineDocument
void SetInlineDocument(const Aws::String &value)
Definition: CodeSigningCertificateChain.h:98
Aws::IoT::Model::CodeSigningCertificateChain::SetInlineDocument
void SetInlineDocument(const char *value)
Definition: CodeSigningCertificateChain.h:110
Aws::IoT::Model::CodeSigningCertificateChain::WithCertificateName
CodeSigningCertificateChain & WithCertificateName(const Aws::String &value)
Definition: CodeSigningCertificateChain.h:69
Aws::IoT::Model::CodeSigningCertificateChain::CodeSigningCertificateChain
CodeSigningCertificateChain()
Aws::IoT::Model::CodeSigningCertificateChain::operator=
CodeSigningCertificateChain & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::CodeSigningCertificateChain::InlineDocumentHasBeenSet
bool InlineDocumentHasBeenSet() const
Definition: CodeSigningCertificateChain.h:92
Aws::IoT::Model::CodeSigningCertificateChain::CertificateNameHasBeenSet
bool CertificateNameHasBeenSet() const
Definition: CodeSigningCertificateChain.h:49
Aws::IoT::Model::CodeSigningCertificateChain::SetCertificateName
void SetCertificateName(Aws::String &&value)
Definition: CodeSigningCertificateChain.h:59
Aws::IoT::Model::CodeSigningCertificateChain::GetCertificateName
const Aws::String & GetCertificateName() const
Definition: CodeSigningCertificateChain.h:44
Aws::IoT::Model::CodeSigningCertificateChain::SetCertificateName
void SetCertificateName(const char *value)
Definition: CodeSigningCertificateChain.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::CodeSigningCertificateChain
Definition: CodeSigningCertificateChain.h:33
Aws::IoT::Model::CodeSigningCertificateChain::GetInlineDocument
const Aws::String & GetInlineDocument() const
Definition: CodeSigningCertificateChain.h:86
Aws::IoT::Model::CodeSigningCertificateChain::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
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::CodeSigningCertificateChain::WithInlineDocument
CodeSigningCertificateChain & WithInlineDocument(Aws::String &&value)
Definition: CodeSigningCertificateChain.h:122
Aws::IoT::Model::CodeSigningCertificateChain::WithCertificateName
CodeSigningCertificateChain & WithCertificateName(Aws::String &&value)
Definition: CodeSigningCertificateChain.h:74
Aws::IoT::Model::CodeSigningCertificateChain::WithInlineDocument
CodeSigningCertificateChain & WithInlineDocument(const Aws::String &value)
Definition: CodeSigningCertificateChain.h:116
Aws::IoT::Model::CodeSigningCertificateChain::WithInlineDocument
CodeSigningCertificateChain & WithInlineDocument(const char *value)
Definition: CodeSigningCertificateChain.h:128
Aws::IoT::Model::CodeSigningCertificateChain::WithCertificateName
CodeSigningCertificateChain & WithCertificateName(const char *value)
Definition: CodeSigningCertificateChain.h:79
Aws::IoT::Model::CodeSigningCertificateChain::CodeSigningCertificateChain
CodeSigningCertificateChain(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h
Aws::IoT::Model::CodeSigningCertificateChain::SetCertificateName
void SetCertificateName(const Aws::String &value)
Definition: CodeSigningCertificateChain.h:54