AWS SDK for C++  1.9.66
AWS SDK for C++
RelatedOpsItem.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_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 SSM
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
47 
51  inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
52 
56  inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
57 
61  inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
62 
66  inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
67 
71  inline RelatedOpsItem& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
72 
76  inline RelatedOpsItem& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
77 
81  inline RelatedOpsItem& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_opsItemId;
86  bool m_opsItemIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace SSM
91 } // namespace Aws
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
SSM_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97