AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceId.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeGuruSecurity
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CODEGURUSECURITY_API ResourceId();
37 AWS_CODEGURUSECURITY_API ResourceId(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUSECURITY_API ResourceId& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCodeArtifactId() const{ return m_codeArtifactId; }
48 inline bool CodeArtifactIdHasBeenSet() const { return m_codeArtifactIdHasBeenSet; }
49 inline void SetCodeArtifactId(const Aws::String& value) { m_codeArtifactIdHasBeenSet = true; m_codeArtifactId = value; }
50 inline void SetCodeArtifactId(Aws::String&& value) { m_codeArtifactIdHasBeenSet = true; m_codeArtifactId = std::move(value); }
51 inline void SetCodeArtifactId(const char* value) { m_codeArtifactIdHasBeenSet = true; m_codeArtifactId.assign(value); }
52 inline ResourceId& WithCodeArtifactId(const Aws::String& value) { SetCodeArtifactId(value); return *this;}
53 inline ResourceId& WithCodeArtifactId(Aws::String&& value) { SetCodeArtifactId(std::move(value)); return *this;}
54 inline ResourceId& WithCodeArtifactId(const char* value) { SetCodeArtifactId(value); return *this;}
56 private:
57
58 Aws::String m_codeArtifactId;
59 bool m_codeArtifactIdHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace CodeGuruSecurity
64} // namespace Aws
void SetCodeArtifactId(const Aws::String &value)
Definition ResourceId.h:49
ResourceId & WithCodeArtifactId(const char *value)
Definition ResourceId.h:54
void SetCodeArtifactId(const char *value)
Definition ResourceId.h:51
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceId & WithCodeArtifactId(Aws::String &&value)
Definition ResourceId.h:53
AWS_CODEGURUSECURITY_API ResourceId()
AWS_CODEGURUSECURITY_API ResourceId(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API ResourceId & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCodeArtifactId(Aws::String &&value)
Definition ResourceId.h:50
ResourceId & WithCodeArtifactId(const Aws::String &value)
Definition ResourceId.h:52
const Aws::String & GetCodeArtifactId() const
Definition ResourceId.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue