AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListArtifactsRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/ArtifactCategory.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DeviceFarm
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_DEVICEFARM_API ListArtifactsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListArtifacts"; }
36
37 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ListArtifactsRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ListArtifactsRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ListArtifactsRequest& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const ArtifactCategory& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const ArtifactCategory& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(ArtifactCategory&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline ListArtifactsRequest& WithType(const ArtifactCategory& value) { SetType(value); return *this;}
66 inline ListArtifactsRequest& WithType(ArtifactCategory&& value) { SetType(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline ListArtifactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline ListArtifactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline ListArtifactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83 private:
84
85 Aws::String m_arn;
86 bool m_arnHasBeenSet = false;
87
88 ArtifactCategory m_type;
89 bool m_typeHasBeenSet = false;
90
91 Aws::String m_nextToken;
92 bool m_nextTokenHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DeviceFarm
97} // namespace Aws
void SetType(const ArtifactCategory &value)
ListArtifactsRequest & WithNextToken(const Aws::String &value)
ListArtifactsRequest & WithType(const ArtifactCategory &value)
ListArtifactsRequest & WithArn(Aws::String &&value)
ListArtifactsRequest & WithArn(const char *value)
ListArtifactsRequest & WithNextToken(const char *value)
ListArtifactsRequest & WithNextToken(Aws::String &&value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
ListArtifactsRequest & WithType(ArtifactCategory &&value)
ListArtifactsRequest & WithArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String