AWS SDK for C++  0.14.3
AWS SDK for C++
CreateActivationResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/ssm/SSM_EXPORTS.h>
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace SSM
32 {
33 namespace Model
34 {
36  {
37  public:
41 
46  inline const Aws::String& GetActivationId() const{ return m_activationId; }
47 
52  inline void SetActivationId(const Aws::String& value) { m_activationId = value; }
53 
58  inline void SetActivationId(Aws::String&& value) { m_activationId = value; }
59 
64  inline void SetActivationId(const char* value) { m_activationId.assign(value); }
65 
70  inline CreateActivationResult& WithActivationId(const Aws::String& value) { SetActivationId(value); return *this;}
71 
76  inline CreateActivationResult& WithActivationId(Aws::String&& value) { SetActivationId(value); return *this;}
77 
82  inline CreateActivationResult& WithActivationId(const char* value) { SetActivationId(value); return *this;}
83 
88  inline const Aws::String& GetActivationCode() const{ return m_activationCode; }
89 
94  inline void SetActivationCode(const Aws::String& value) { m_activationCode = value; }
95 
100  inline void SetActivationCode(Aws::String&& value) { m_activationCode = value; }
101 
106  inline void SetActivationCode(const char* value) { m_activationCode.assign(value); }
107 
112  inline CreateActivationResult& WithActivationCode(const Aws::String& value) { SetActivationCode(value); return *this;}
113 
118  inline CreateActivationResult& WithActivationCode(Aws::String&& value) { SetActivationCode(value); return *this;}
119 
124  inline CreateActivationResult& WithActivationCode(const char* value) { SetActivationCode(value); return *this;}
125 
126  private:
127  Aws::String m_activationId;
128  Aws::String m_activationCode;
129  };
130 
131 } // namespace Model
132 } // namespace SSM
133 } // namespace Aws
const Aws::String & GetActivationCode() const
CreateActivationResult & WithActivationId(const Aws::String &value)
CreateActivationResult & WithActivationId(Aws::String &&value)
CreateActivationResult & WithActivationId(const char *value)
const Aws::String & GetActivationId() const
void SetActivationId(const Aws::String &value)
CreateActivationResult & WithActivationCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateActivationResult & WithActivationCode(Aws::String &&value)
CreateActivationResult & WithActivationCode(const Aws::String &value)
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:37
void SetActivationCode(const Aws::String &value)
JSON (JavaScript Object Notation).